aboutsummaryrefslogtreecommitdiff
path: root/robot/setup.c
blob: 11745709674ec5f98958283c1d4ab53999f1fd9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdlib.h>

#include "orangutan_shim.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");
}