diff options
Diffstat (limited to 'robot/setup.c')
-rw-r--r-- | robot/setup.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/robot/setup.c b/robot/setup.c new file mode 100644 index 0000000..10001c7 --- /dev/null +++ b/robot/setup.c @@ -0,0 +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"); +} |