You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
325 B
23 lines
325 B
/* |
|
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(); |
|
|
|
void setup() { |
|
hal.console->printf("hello world\n"); |
|
} |
|
|
|
void loop() |
|
{ |
|
hal.scheduler->delay(1000); |
|
hal.console->printf("*\n"); |
|
} |
|
|
|
AP_HAL_MAIN();
|
|
|