1/* 2 simple hello world sketch 3 Andrew Tridgell September 2011 4*/ 5 6#include <AP_HAL/AP_HAL.h> 7 8void setup(); 9void loop(); 10 11const AP_HAL::HAL& hal = AP_HAL::get_HAL(); 12 13void setup() 14{ 15 hal.console->printf("hello world\n"); 16} 17 18void loop() 19{ 20 hal.scheduler->delay(1000); 21 hal.console->printf("*\n"); 22} 23 24AP_HAL_MAIN(); 25 26