summaryrefslogtreecommitdiff
path: root/robot/setup.c
blob: 10001c78dee5a5303f8f3d5f6204afd95f932a8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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");
}