2013-05-29 20:56:00 -03:00
|
|
|
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
2012-12-23 16:17:48 -04:00
|
|
|
|
|
|
|
/*
|
|
|
|
simple hello world sketch
|
|
|
|
Andrew Tridgell September 2011
|
|
|
|
*/
|
|
|
|
|
2015-08-11 03:28:41 -03:00
|
|
|
#include <AP_HAL/AP_HAL.h>
|
2012-12-23 16:17:48 -04:00
|
|
|
|
2015-10-16 17:22:11 -03:00
|
|
|
const AP_HAL::HAL& hal = AP_HAL::get_HAL();
|
2012-12-23 16:17:48 -04:00
|
|
|
|
2015-10-19 17:02:59 -03:00
|
|
|
void setup()
|
|
|
|
{
|
2015-10-25 16:50:51 -03:00
|
|
|
hal.console->println("hello world");
|
2012-12-23 16:17:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
void loop()
|
|
|
|
{
|
|
|
|
hal.scheduler->delay(1000);
|
|
|
|
hal.console->println("*");
|
|
|
|
}
|
|
|
|
|
|
|
|
AP_HAL_MAIN();
|