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

Gyro gyro;
unsigned int imeCount=0;

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

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