diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-04-26 12:39:22 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-04-26 12:39:22 +0200 |
commit | d067eacc112f2453e95f0dde89bb0f60f170a195 (patch) | |
tree | a8066fb861ecaa2162e6e9683fb201d4e1600fe7 /robot/main.c | |
parent | 8db9589e6ca1757a5c5224fe5b913828d9ec0cb3 (diff) |
project restructure + help in readme.md
Diffstat (limited to 'robot/main.c')
-rw-r--r-- | robot/main.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/robot/main.c b/robot/main.c new file mode 100644 index 0000000..dfc8d68 --- /dev/null +++ b/robot/main.c @@ -0,0 +1,20 @@ +#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; +} |