View Single Post
  #5   Spotlight this post!  
Unread 02-02-2008, 16:53
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: gyro and accelerometer problems

Quote:
Originally Posted by Abwehr View Post
Put in some printf's in the ADC interrupt handler to make sure the analog input is updating.
Because printf() is a big chunk of code to execute in an ISR, it's probably better to just stuff an ASCII character directly into the serial port output queue, as described here.

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