summaryrefslogtreecommitdiffstats
path: root/src/init.c
diff options
context:
space:
mode:
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);
}