summaryrefslogtreecommitdiffstats
path: root/src/init.c
blob: e2145b4dfa02cae72914a3fc148cb8b853b76cd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <main.h>

Gyro gyro;
unsigned int imeCount;

void initializeIO(){
	pinMode(ANALOG_PORT(1),INPUT_ANALOG);
}

void initialize(){
	imeCount = imeInitializeAll();
	gyro=gyroInit(2,0);
	lcdInit(uart1);
	lcdClear(uart1);
	lcdSetBacklight(uart1,1);
}