mirror of https://github.com/ArduPilot/ardupilot
barometer: print a message on barometer init in example code
this helps track down initialisation problems
This commit is contained in:
parent
43e77222ff
commit
89f664e3b0
|
@ -12,9 +12,11 @@ unsigned long timer;
|
|||
|
||||
void setup()
|
||||
{
|
||||
APM_BMP085.Init(); // APM ADC initialization
|
||||
Serial.begin(38400);
|
||||
Serial.begin(115200);
|
||||
Serial.println("ArduPilot Mega BMP085 library test");
|
||||
Serial.println("Initialising barometer..."); delay(100);
|
||||
APM_BMP085.Init(); // APM ADC initialization
|
||||
Serial.println("initialisation complete."); delay(100);
|
||||
delay(1000);
|
||||
timer = millis();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue