Add motor test application

This commit is contained in:
Thammi 2013-08-29 20:57:29 +02:00
parent 067c9fe0e5
commit 72ea9dea84

12
firmware/apps/motor.c Normal file
View File

@ -0,0 +1,12 @@
#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);