Pages: [1]   Go Down
Author Topic: Analogue reader for a gyroscope chip  (Read 386 times)
0 Members and 1 Guest are viewing this topic.
Sydney Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 5
I am old and need all the help I can get
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

0
Offline Offline
Shannon Member
****
Karma: 159
Posts: 10409
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How about the obvious:
Code:
void loop ()
{
  Serial.println (analogRead (0)) ;
  delay (1000) ;
}
Logged

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: