aboutsummaryrefslogtreecommitdiff
path: root/robot/setup.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-09 14:58:59 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-09 14:58:59 +0200
commitbe84308e01ecc9e8de2997ab030420b401e06596 (patch)
tree1efcc385a197800e2b26497e16bf0e59d9e5265f /robot/setup.c
parentc30c9250c18513899cee2ddc35071d98d36a7470 (diff)
added boilerplate source and header files
Diffstat (limited to 'robot/setup.c')
-rw-r--r--robot/setup.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/robot/setup.c b/robot/setup.c
new file mode 100644
index 0000000..0652911
--- /dev/null
+++ b/robot/setup.c
@@ -0,0 +1,11 @@
+#include <pololu/orangutan.h>
+
+#include "consts.h"
+#include "setup.h"
+
+void w2_setup_main() {
+ serial_set_baud_rate(W2_SERIAL_BAUD);
+
+ // indicate startup done
+ play("L50 c>c");
+}