diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-09 17:17:53 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-09 17:17:53 +0200 |
commit | 32237bc52d1dd69d60dda75ddc29bb31ce165c83 (patch) | |
tree | aff899e8b09f7a1b66e06eb4769548ca12169557 /robot/setup.c | |
parent | be84308e01ecc9e8de2997ab030420b401e06596 (diff) |
implement setup and hypervisor
Diffstat (limited to 'robot/setup.c')
-rw-r--r-- | robot/setup.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/robot/setup.c b/robot/setup.c index 0652911..10001c7 100644 --- a/robot/setup.c +++ b/robot/setup.c @@ -1,11 +1,21 @@ #include <pololu/orangutan.h> +#include <stdlib.h> #include "consts.h" +#include "halt.h" +#include "modes.h" #include "setup.h" void w2_setup_main() { serial_set_baud_rate(W2_SERIAL_BAUD); + // reset underside leds + red_led(0); + green_led(0); + + // clear lcd + clear(); + // indicate startup done play("L50 c>c"); } |