aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-04-25 13:42:06 +0200
committerlonkaars <loek@pipeframe.xyz>2022-04-25 13:42:06 +0200
commit559736432356e2bb4ce805e60c32353a5582a568 (patch)
tree2f9c24e4099d5e86f7b90dfead5aba521e48dc2c /main.c
parent9421fb8c7a7ec8082ada2eaa583acea4bdc12ed1 (diff)
working makefile for 3pi robot
Diffstat (limited to 'main.c')
-rw-r--r--main.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..1dae142
--- /dev/null
+++ b/main.c
@@ -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;
+}
+