summaryrefslogtreecommitdiffstats
path: root/src/init.c
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-10-30 14:30:46 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-10-30 14:30:46 -0400
commit7afd68829c049cb61e4610836bda8adcf1f7ccee (patch)
tree649f9c7ed316ce1722c659c56fcc7810f5e89396 /src/init.c
parentf60fcd1bb7b1044a7da5f6ecff89289f091a2773 (diff)
first real commit
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c
index 24b5b50..e2145b4 100644
--- a/src/init.c
+++ b/src/init.c
@@ -1,5 +1,6 @@
#include <main.h>
+Gyro gyro;
unsigned int imeCount;
void initializeIO(){
@@ -8,4 +9,8 @@ void initializeIO(){
void initialize(){
imeCount = imeInitializeAll();
+ gyro=gyroInit(2,0);
+ lcdInit(uart1);
+ lcdClear(uart1);
+ lcdSetBacklight(uart1,1);
}