pentabug/firmware/apps/motor.c
2013-08-29 20:57:29 +02:00

13 lines
171 B
C

#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);