Elite 1.4 I2C test
This commit is contained in:
+2
-2
@@ -619,13 +619,13 @@ static void SimpleBLEPeripheral_taskFxn(UArg a0, UArg a1) {
|
||||
}
|
||||
else if(counter6994 == 35){
|
||||
PIN_setOutputValue(pin_handle, shutdown_6994, 0); // OFF = 1 => turn off 6994
|
||||
counter6994 ++;
|
||||
PIN_setOutputValue(pin_handle, enable_10v, 1);
|
||||
|
||||
#ifdef Elite1_4
|
||||
I2Cinit();
|
||||
I2CWrite(0x01, 0xAB);
|
||||
I2C_close();
|
||||
#endif
|
||||
counter6994 ++;
|
||||
}
|
||||
EliteKeyPress(key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user