Go Down

Topic: Analogue reader for a gyroscope chip (Read 454 times) previous topic - next topic

SonnyBreaks

Ive been given a simple gyroscop chip out of an RC copter.  My friend tells me I should get an analogue reader program just to see what the chip does.  Does anyone have a bit of code lying about?

MarkT

How about the obvious:
Code: [Select]

void loop ()
{
  Serial.println (analogRead (0)) ;
  delay (1000) ;
}
[ I won't respond to messages, use the forum please ]

Go Up