Elite 1.4 I2C test

This commit is contained in:
YiChin
2019-07-24 11:39:55 +08:00
parent c2bd1e9780
commit e7cdc676cf
@@ -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);
}