Ardupilot2/libraries/AP_HAL_FLYMAPLE/examples/empty_example/empty_example.pde
Mike McCauley 9bfc52d9af HAL_FLYMAPLE: initial port to flymaple board
See libraries/AP_HAL_FLYMAPLE/FlymaplePortingNotes.txt
2013-09-24 13:32:50 +10:00

24 lines
444 B
Plaintext

#include <AP_HAL.h>
#include <AP_Common.h>
#include <AP_Progmem.h>
#include <AP_Param.h>
#include <AP_Math.h>
#include <AP_HAL_FLYMAPLE.h>
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
void setup() {
hal.scheduler->delay(5000);
hal.console->println_P(PSTR("Empty setup"));
}
void loop()
{
hal.console->println_P(PSTR("loop"));
hal.console->printf("hello %d\n", 1234);
hal.scheduler->delay(1000);
}
AP_HAL_MAIN();