??? 02/26/05 11:54 Read: times |
#88526 - sign data Responding to: ???'s previous message |
the sign data is stored in memory as one byte per column You know why I thought it's better not to do so? Because I thought we can have our messaing software arrange the bit patterns the way it's easier for the uC to manipulate. You know writing C code on a PC is very much easier than assembly on an embeded system regardless of the level of complexity on the PC programmer's shoulder. I intended to do this to make the job of uC easier, but it seemed that I can't solve the problem of how to arrange the bit patterns in the SRAM. Yet, it seems to me that despite what I thought it may surprisingly be easier to simply put the data in consecutive locations in SRAM as you (Eric) suggest. the shift registers are wired this way on each module
in > r1 ^->r1 ^-> m r ->r1 ^-> out to next module r2 ^ r2 ^ o o r2 ^ r3 ^ r3 ^ r w r3 ^ r4 ^ r4 ^ e s r4 ^ r5 ^ r5 ^ r5 ^ r6 ^ r6 ^ r6 ^ r7-^ r7-^ r7-^ I don't quite follow. I'm multiplexing, each module has four HC595s. P1 provides serial data: each pin of P1 is connected to a module and feeds four HC595s, the HC595s in turn provide row data. I did this to benefit from having to issue just one clock for every 8 bits sent to the modules, but I wonderred how to "make" the byte for P1. I may have to think of something like this: get char"s" from different locations of RAM addresses: 0, 8, 16, ... loop for 8 some bitwise torture to make the byte using the chars and some rotations put byte on P1 clock high clock low if not 8 back to loop for 8 strobe |
Topic | Author | Date |
Oops! | 01/01/70 00:00 | |
storing bit maps | 01/01/70 00:00 | |
time constraints? | 01/01/70 00:00 | |
serial out | 01/01/70 00:00 | |
8x(4x256)? | 01/01/70 00:00 | |
Here is how bits relat to rows | 01/01/70 00:00 | |
sign data | 01/01/70 00:00 | |
if you can | 01/01/70 00:00 | |
Well I couldn't.![]() | 01/01/70 00:00 | |
What time constraints? | 01/01/70 00:00 | |
300us | 01/01/70 00:00 | |
Not again!! | 01/01/70 00:00 |