From d067eacc112f2453e95f0dde89bb0f60f170a195 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 26 Apr 2022 12:39:22 +0200 Subject: project restructure + help in readme.md --- robot/main.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 robot/main.c (limited to 'robot/main.c') 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 + +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; +} -- cgit v1.2.3