Search found 103 matches

Return

by medelec35
Thu Apr 28, 2011 9:05 pm
Jump to forum
Jump to topic

Re: EEPROM RESET

If that all you want to do then here is Flowchart to do that.
Since you can get random negative numbers, I have also got EEPROM to set to 0 if rojo or azul <0.

Martin
by medelec35
Fri Feb 24, 2012 7:17 pm
Jump to forum
Jump to topic

Re: EEPROM (need help)

Hi electron67, Since I could not open your flowchart with FC4 then as you have FC5 have you looked here to register for V5 section: http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=46&t=9958 I have altered your Flowchart so if 23 is entered then 23 is wrote to EEPROM. One thing to rememb...
by DavidA
Sat Mar 10, 2012 5:25 pm
Jump to forum
Jump to topic

Re: Flowcode5 simula correctamente, pero al programar el PIC

Hola, si se está trabajando en la simulación puede ser una buena idea crear un programa que hace de base de lectura y escritura en la memoria EEPROM y ver si puede conseguir que funcione en hardware. ----------------------------------------------------------------------------------------------------...
by kersing
Wed Mar 21, 2012 12:11 am
Jump to forum
Jump to topic

Re: KEYBOARD USB

Sorry to disappoint you, but what you want can not be done with a PIC18F2550. Starting at the beginning, there are three types of USB devices: 1) USB Host, examples: computer, media player. These devices have a USB type A socket. 2) USB Slave, examples: keyboards, mouse, USB flash drive, USB disk dr...
by KeesB
Mon Jun 25, 2012 9:10 pm
Jump to forum
Jump to topic

Re: Problem with 10bit ADC on Flowcode 5

Hi electron67,

I have received a PM from howard123 with the attached file which he received from Ben Rowlands.
This file has solved my problem with the external Vref on the 18F4620.

Kees
by medelec35
Mon Jun 25, 2012 8:52 pm
Jump to forum
Jump to topic

Re: Delay with Variable

Hi electron67 the reason delay using variables don't work on hardware is because the variable can only have a maximum value of 255; For a work round see: http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=29&t=6792&p=15624#p15633 This has been fixed on Flowcode V5 so a variable can be ...
by medelec35
Mon Jul 09, 2012 7:58 pm
Jump to forum
Jump to topic

Re: DELAY for day's

Hi Electron67, This should work the way you intend. A0 can go off after any set some you desire. E.g 1 day to 255 days 1 second to 60 seconds 1 hour to 23 hours. With more decision branches, you could for example set delay for 16 days 5hours and 28 seconds. Although I have set flowchart with the req...
by JohnCrow
Mon Jul 09, 2012 7:47 pm
Jump to forum
Jump to topic

Re: DELAY for day's

Hi Not sure if Im understanding you correcly but: A day has 86400 seconds I think that value is too large for the delay variable Im sure the delay icon takes integer with a max value of 32767 (8 hours is 28800 which I think should be ok) Im sure the guys at Matrix will have an answer Ive never neede...
by Enamul
Tue Jul 10, 2012 10:14 am
Jump to forum
Jump to topic

Re: DELAY for day's

Hi Electron67, I am attached here a RTC using TMR1 and crystal 32.768KHz connected in RC0 & RC1 besides 20MHZ PIC main crystal.. This can give you monthly calender..i.e, sec, min, hour and day accurately.. I have reset day variable after 7 to show rotation of week days if you change the day vari...
by Tony Brown
Wed Aug 15, 2012 11:07 am
Jump to forum
Jump to topic

Re: 128 x 64 glcd

Hi All this is the first time that I have put any help on here but I hope it helps. Im using the ks0107/0108 graphic LCD 128x64. To get it to work in flowcode I downloaded the custom_code.c file (see attachment Custom_code.c), renamed it to FC5_PIC_Custom.C, and copy and pasted it into: Program file...
by medelec35
Tue Jun 18, 2013 7:53 pm
Jump to forum
Jump to topic

Re: Grades Centigrade to Farenheit

Hi electron67 The problem with your Flowchart is MOD can't be used with floats. So I have added Float to int conversion and reduced and simplified your calculations. Note: All your calculations are correct :) With your Flowchart: If you ReadAsVoltage (using Float). e.g ADC_Value = float2int (ADC_Val...
by JohnCrow
Tue Dec 31, 2013 8:17 pm
Jump to forum
Jump to topic

Re: Led Matrix Serial

Hi
The board is EB-087.

http://www.matrixmultimedia.com/product.php?Prod=EB087&PHPSESSID=

I've attached a very simple demo program


Hello World.fcfx
by Benj
Tue Apr 29, 2014 9:47 am
Jump to forum
Jump to topic

Re: Compare the numbers saved in eeprom of two PIC

Hello, Yes this can be done, 1) Look at Martins example it shows how to do the comparison from a single chip. 2) You will need a way of transferring data between chips (comms) I suggest using the RS232 component and the hardware UART pins, RX1 to TX2 and TX1 to RX2. 3) You then need a nice way of re...
by medelec35
Mon Apr 28, 2014 5:38 pm
Jump to forum
Jump to topic

Re: Compare the numbers saved in eeprom of two PIC

Hi electron67 I have put together a flowchart that should do what you asked for in your first post as a starting point. With 1 in both arrays the following is shown: Number repeated.png You will need to add the EEPROM reading function. If you get stuck I can help you with that. Can you let me know h...
by medelec35
Sat May 03, 2014 10:42 am
Jump to forum
Jump to topic

Re: Compare the numbers saved in eeprom of two PIC

Hi Enrique, I have taken a look at your flowchart, and it's far to big and inefficient to be practical. What Ben said: try and break up each step into smaller bite size pieces, this is much easier then trying to work out the entire thing in one go. is very good advice. Lets take the reading of each ...
by SteveM
Wed May 07, 2014 11:32 am
Jump to forum
Jump to topic

Re: Compare the numbers saved in eeprom of two PIC

Hi Enrique, This little set of Macro's might help simplify your solution... Used Values Macros.fcfx A quick explanation... We are testing values between 0 and 200 - i.e. they will fit inside a single byte. We want to store whether or not a given value is used - a 'true/false' value which can be stor...
by medelec35
Wed May 07, 2014 10:57 pm
Jump to forum
Jump to topic

Re: Compare the numbers saved in eeprom of two PIC

Hi Enrique, I hopefully have lashed together a Flowchart that does what you want. I have virally started from scratch. Its reactively small in size and you can enter a number and only if the number has not been used before it will be saved on EEPROM. If the number has been repeated, then you will ge...
by SteveM
Thu May 08, 2014 10:29 am
Jump to forum
Jump to topic

Re: Compare the numbers saved in eeprom of two PIC

Attached flowchart won't be as efficient as Steve's flowchart, as I'm not as clever as he is He he, thanks - just so long as I ignore the hardware related questions! :wink: Weirdly though, I find all this "embedded" stuff strangely nostalgic. It's like going back in time to the mid 1980's...
by medelec35
Fri May 09, 2014 6:34 am
Jump to forum
Jump to topic

Re: Compare the numbers saved in eeprom of two PIC

Hi Enrique, I have one doubt, that function has NumberString [5] in the program The only reason for using string variable is because of this statement: press 00 and # is stop recording . using It was one way of displaying 00. If it was not for that the string would not be required. While typing this...
by Benj
Fri Nov 28, 2014 11:37 am
Jump to forum
Jump to topic

Re: EEPROM to ZERO

Hello Enrique,

Instead of writing each address using a icon why not use a variable and a loop.

Code: Select all

index = 0

while (index < 255)

EEPROM Write (index, 0)

index = index + 1

end while
by Benj
Tue Dec 15, 2015 1:33 pm
Jump to forum
Jump to topic

Re: Variable in CirculoBuffer

Hello, At the top of your program you have this code. Value = 6000 / 2 this will store the value 3000 in the variable Value. The next line of code is. Password = "Value / 3" This will fix the password variable with the fixed string "Value / 3" and won't do as your expecting which...
by medelec35
Wed Dec 16, 2015 6:57 pm
Jump to forum
Jump to topic

Re: Store & Retrieve ULong using EEPROM.fcfx

Hi Enrique, You can only store bytes (0 to 255) in EEPROM with 8bit microcontrollers. The number I was actually storing is 1234567890 which is assigned to Cycles variable. Numbers 73, 150, 2 and 210 is the 1234567890 broken down into bytes to store within EEPROM. If you want to store numbers from -3...
by Benj
Mon Jan 04, 2016 12:14 pm
Jump to forum
Jump to topic

Re: E-BLOCK EB063

Hello,

Yes if your powering everything at 3V3 then the MAX chip is not necessary. The MAX chip is fixed in place on the E-block but if your making your own hardware then it is not required.
by JohnCrow
Mon Dec 21, 2015 9:38 pm
Jump to forum
Jump to topic

Merry Christmas

Merry Christmas to all at Matrix and on the forums
by medelec35
Mon Dec 21, 2015 11:11 pm
Jump to forum
Jump to topic

Re: Merry Christmas

I would also like to wish Matrix staff and all forum members a merry Christmas.