View Single Post
  #13   Spotlight this post!  
Unread 28-09-2003, 22:32
vladg12 vladg12 is offline
Registered User
#0117
 
Join Date: Sep 2003
Location: Pittsburgh
Posts: 7
vladg12 is an unknown quantity at this point
Interrupts

No one has mentioned the most useful purpose of interrupts: TIMERS! Every time a timer overflows (which is in the order of microsecs), an interrupt is generated. This would be important for generating PWM signals (unless the chip has special PWM outputs), as well as for "accurate" (well, more accurate than with PBASIC) dead-reckoning code.