Distributor

New APM Code issue

Hello,

 

Just down loaded the new CODE, removed the "//" for the gps and tried to compile the code for the APM and got this screen:

 

 


This mesage came up in the red box at the bottom of the page:

 

ArduPilotMega.cpp:20:77: error: AP_ADC.h: No such file or directory
ArduPilotMega:79: error: 'AP_ADC_ADS7844' does not name a type
ArduPilotMega.cpp: In function 'void Read_adc_raw()':
DCM:36: error: 'adc' was not declared in this scope
ArduPilotMega.cpp: In function 'void read_airspeed()':
sensors:54: error: 'adc' was not declared in this scope
ArduPilotMega.cpp: In function 'void zero_airspeed()':
setup:22: error: 'adc' was not declared in this scope
ArduPilotMega.cpp: In function 'void init_ardupilot()':
system:128: error: 'adc' was not declared in this scope
ArduPilotMega.cpp: In function 'int8_t test_adc(uint8_t, const Menu::arg*)':
test:192: error: 'adc' was not declared in this scope
ArduPilotMega.cpp: In function 'int8_t test_gyro(uint8_t, const Menu::arg*)':
test:287: error: 'adc' was not declared in this scope

 

I have no idea what this means, can someone please help or point me in the direction of understanding the above issue please?  Thank you.

 

Regards

 

Martin.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • First things first go to preferences and select the APM code folder as your sketchbook not your sketchbook folder. This is the cause for many problems and plus its always good to check

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…