diff --git a/firmware/apps/motor.c b/firmware/apps/motor.c new file mode 100644 index 0000000..b066d15 --- /dev/null +++ b/firmware/apps/motor.c @@ -0,0 +1,12 @@ +#include +#include + +static void run(void) { + if(button_clicked(LEFT)) { + motor_inv(); + led_inv(LEFT); + led_inv(RIGHT); + } +} + +REG(run);