For example, it looks like the pitch accelerometer is on pin 0 and the variable mapped to the pitch accelerometer is AN[0]. I can't figure out some of the rest. Reading analog pin 1 in a test program looks like its giving me the roll accelerometer. However, when I serial print AN_OFFSET[1]-AN[1] in the arduimu code, the value is a flat zero.
You need to be a member of diydrones to add comments!
Replies
When I test the gyro pins 6, 7, and 3 with a simple print analogRead() to serial program, the results are static. Are my gyros broken?
As a side question, which sensor corresponds to which variable, AN[0] to AN[5] in the arduimu program?