2013-08-26 01:08:00 +02:00
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
#include <pentabug/app.h>
|
2013-08-27 00:54:30 +02:00
|
|
|
#include <pentabug/hal.h>
|
2013-08-26 01:08:00 +02:00
|
|
|
|
|
|
|
static void init(void) {
|
2013-08-27 00:54:30 +02:00
|
|
|
led_on(RIGHT);
|
2013-08-26 01:08:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static void blinker(void) {
|
2013-08-27 00:54:30 +02:00
|
|
|
led_inv(RIGHT);
|
|
|
|
led_inv(LEFT);
|
2013-08-29 19:14:30 +02:00
|
|
|
wait_ms(500);
|
2013-08-26 01:08:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
REGISTER(blinker, init, NULL);
|