diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-04-25 13:42:06 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-04-25 13:42:06 +0200 |
commit | 559736432356e2bb4ce805e60c32353a5582a568 (patch) | |
tree | 2f9c24e4099d5e86f7b90dfead5aba521e48dc2c /main.c | |
parent | 9421fb8c7a7ec8082ada2eaa583acea4bdc12ed1 (diff) |
working makefile for 3pi robot
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +#include <pololu/orangutan.h> + +int main() { + print("Hello!"); + play("L16 ceg>c"); + + while(1) { + red_led(0); + green_led(1); + + delay_ms(100); + + red_led(1); + green_led(0); + + delay_ms(100); + } + + return 0; +} + |