??? 01/31/09 09:09 Read: times Msg Score: +2 +2 Good Answer/Helpful |
#161867 - It is one way Responding to: ???'s previous message |
But that is still not the standard way to program small systems.
A main loop and an the interrupts is all that is needed. Start loop -Poll keyboard ( or this can be in an interrupt) -process keyboard -look at tick count call timer function if needed -display message in led dotmatrix ( if you are scanning this you may want this in its timer interrupt. End Superloop interupt: say 100ms ( or what ever is needed add 1 to tick counter |