View Single Post
  #11   Spotlight this post!  
Unread 07-03-2004, 01:47
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Interrupt timer, executing code asap?

Quote:
Originally Posted by Daniel
State machines are best implemented using the C "switch" statement, and some long hard thinking.
As Dan pointed out, software state machines are a very powerful concept (I cannot possibly over emphasize this). I wrote a serial transmitter example that uses a state machine to generate the waveforms. The code can be found here.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org