??? 07/26/04 18:48 Read: times |
#74916 - RE: single crystal Responding to: ???'s previous message |
I dont understand how to keep track of every kart, On every timer tick, read the 12 bits representing the kart sensors. Keeping the interrupt code as short as possible, pass these 12 bits back to 'main' along with the actual time of that tick. Use a ring buffer or FIFO if you're not sure that 'main' will get to it before the next tick. In 'main', determine if any of the sensor readings is 'new', and record the kart number along with its time into the log. |
Topic | Author | Date |
single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal | 01/01/70 00:00 | |
RE: single crystal![]() | 01/01/70 00:00 |