fernando_g
Senior Member
I am planning to build a light chaser, on which the strings of LEDs is lit up with sequences like the following example:
0000 0000
1000 0000
0100 0000
0010 0000
0001 0000
0000 1000
0000 0100
0000 0010
0000 0001
then a new sequence follows:
1100 0000
0110 0000
0011 0000
0001 1000
0000 1100
0000 0110
0000 0011
and another;
1110 0000
0111 0000
0011 1000
0001 1100
0000 1110
0000 0111
and so on.................
What I am planning to do is to read the sequences from an external I2C EEPROM, and then simply apply them to a port. The port will of course drive the proper transistors which will handle the large current requirements.
The hardware is up and running, and a short sample sequence is running correctly. They look fantastic!
I loaded the data from the Picaxe's memory to the EEPROM for this short test sequence.
This is fine for a short sequence, but I am planning to load hundreds of bytes into the EEPROM. How to do it, from the Serial Terminal?
Or would it be a better way?
0000 0000
1000 0000
0100 0000
0010 0000
0001 0000
0000 1000
0000 0100
0000 0010
0000 0001
then a new sequence follows:
1100 0000
0110 0000
0011 0000
0001 1000
0000 1100
0000 0110
0000 0011
and another;
1110 0000
0111 0000
0011 1000
0001 1100
0000 1110
0000 0111
and so on.................
What I am planning to do is to read the sequences from an external I2C EEPROM, and then simply apply them to a port. The port will of course drive the proper transistors which will handle the large current requirements.
The hardware is up and running, and a short sample sequence is running correctly. They look fantastic!
I loaded the data from the Picaxe's memory to the EEPROM for this short test sequence.
This is fine for a short sequence, but I am planning to load hundreds of bytes into the EEPROM. How to do it, from the Serial Terminal?
Or would it be a better way?