View Single Post
  #4   Spotlight this post!  
Unread 23-02-2004, 13:17
Jeff McCune's Avatar
Jeff McCune Jeff McCune is offline
Alpha Geek
#0677 (The Wirestrippers)
Team Role: Mentor
 
Join Date: Jan 2003
Location: The Ohio State University
Posts: 67
Jeff McCune is on a distinguished road
Send a message via ICQ to Jeff McCune Send a message via AIM to Jeff McCune
Re: interrupts and putdata()

It's fine to call putdata more often than needed, but it would probably be a bad idea to call putdata from an interrupt handler because of timing issues. The interrupt pin would be disabled for as long as putdata would take to execute. I'd just set your PWM values and call putdata as you normally do.
__________________
Team 677 - The Wirestrippers - Columbus School for Girls and The Ohio State University
EMAIL: mccune@ling.ohio-state.edu

...And all you touch and all you see
Is all your life will ever be...