ardupilot/Tools/Hello/Hello.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
325 B
C++
Raw Normal View History

/*
simple hello world sketch
Andrew Tridgell September 2011
*/
#include <AP_HAL/AP_HAL.h>
void setup();
void loop();
const AP_HAL::HAL& hal = AP_HAL::get_HAL();
2015-10-19 17:02:59 -03:00
void setup()
{
hal.console->printf("hello world\n");
}
void loop()
{
hal.scheduler->delay(1000);
hal.console->printf("*\n");
}
AP_HAL_MAIN();