Have the AP Mega and IMU assembled, have done some basic tests to switch led's on/off etc.
One thing I can not get working and have trouble debugging is the ADC, all the test program returns is a row of 0's.
Any ideas how to debug ?
The code I used is the files as below for the libraries and APM_ADC_test.
Hein
Replies
Hmm I am only getting zeros as well. My board just arrived today. I've tried both the "test" mode and the ADC test program directly. Barometer and radio work fine.
Photos: https://picasaweb.google.com/john.t.erickson/ArduPilot
Thanks!
John
Try the attached code. Make sure that the APM_ADC folder is in the IDE libraries folder.
Regards,
TCIII
APM_ADC_test.pde