??? 12/15/04 12:29 Modified: 12/15/04 12:34 Read: times |
#83136 - State machine... Responding to: ???'s previous message |
Seems to be a state machine.
There is multiple ways of achieve the objective, thats only one. State machines can solve a lot of problems, but there is others ways to go.. You can for example, do the work in main, and call helper functions, wait for the state of a switch to change, wait for an interruption to occur, or an A/D conversion to finish. And in response do what you need (i.e, turn on a LED, send the A/D conversion to a computer via the UART,etc), it depends what you need to do. I think that in the keil site (and all over the internet.., see in the links section at your left) must be others documents and guides to programming also. Take a look Regards Robert. |
Topic | Author | Date |
Making embedded programs | 01/01/70 00:00 | |
State machine... | 01/01/70 00:00 | |
look here | 01/01/70 00:00 | |
Variations on a theme | 01/01/70 00:00 | |
HUH ? | 01/01/70 00:00 | |
Code inside Task ()![]() | 01/01/70 00:00 |