pentabug/firmware/apps/motor.c

13 lines
171 B
C
Raw Normal View History

2013-08-29 20:57:29 +02:00
#include <pentabug/app.h>
#include <pentabug/hal.h>
static void run(void) {
if(button_clicked(LEFT)) {
motor_inv();
led_inv(LEFT);
led_inv(RIGHT);
}
}
REG(run);