summaryrefslogtreecommitdiffstats
path: root/src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/init.c b/src/init.c
index 3ffa429..a59dcba 100644
--- a/src/init.c
+++ b/src/init.c
@@ -6,6 +6,9 @@ unsigned int imeCount;
void initializeIO(){
pinMode(ANALOG_PORT(1),INPUT_ANALOG); // Power expander status port
pinMode(1,OUTPUT); // LED
+ pinMode(2,INPUT);
+ pinMode(3,INPUT);
+ pinMode(4,INPUT);
}
void initialize(){
@@ -16,26 +19,14 @@ void initialize(){
lcdClear(uart1);
lcdSetBacklight(uart1,1);
- lcdInit(uart2);
- lcdClear(uart2);
- lcdSetBacklight(uart2,1);
-
// Setup sensors.
imeCount = imeInitializeAll();
gyro=gyroInit(2,0);
lcdPrint(uart1,1,"%u IMEs :)",imeCount);
-
- lcdPrint(uart2,1,"ERR: Dark theme ");
- lcdPrint(uart2,2," not found! ");
-
- delay(2000);
-
+ delay(1000);
lcdPrint(uart1,1,"ready...");
- lcdPrint(uart2,1,"...yeah. ");
- lcdPrint(uart2,2," ");
-
delay(1000);
}