From f60fcd1bb7b1044a7da5f6ecff89289f091a2773 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 22 Oct 2015 14:47:59 -0400 Subject: hey --- src/init.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'src/init.c') diff --git a/src/init.c b/src/init.c index f3948f0..24b5b50 100644 --- a/src/init.c +++ b/src/init.c @@ -1,15 +1,11 @@ -#include "main.h" +#include -Gyro gyro; -unsigned int imeCount=0; +unsigned int imeCount; -void initializeIO(void){ - pinMode(1,INPUT_ANALOG); +void initializeIO(){ + pinMode(ANALOG_PORT(1),INPUT_ANALOG); } -void initialize(void){ - lcdInit(uart1); - lcdClear(uart1); - gyro=gyroInit(2,0); - imeCount=imeInitializeAll(); +void initialize(){ + imeCount = imeInitializeAll(); } -- cgit v1.2.3