Check this one ! mbos setup changed, WTX hor pos changed, no font style check, no checksum check
Dependencies: 4DGL MODSERIAL mbed mbos
Fork of CDU_Mbed_21 by
Diff: keyboard2.cpp
- Revision:
- 8:422544d24df3
- Parent:
- 7:6576a287e563
- Child:
- 9:9a5f1b389973
--- a/keyboard2.cpp Thu Jul 17 10:09:14 2014 +0000 +++ b/keyboard2.cpp Sun Jul 20 16:33:53 2014 +0000 @@ -5,7 +5,7 @@ #include "MODSERIAL.h" #include "keyboard.h" #include "mbos.h" -#include "mbos_def.h" +#include "mbos_def2.h" const int CDU_KB_ADRS = 0x68; //Base address TCA8418 keypad scanner const int I2C_ACK = 0x00; @@ -90,7 +90,8 @@ CDU_I2C.read(CDU_KB_ADRS, cmd, 2); //read key value (=2 words) key_hit_ID = int(cmd[0]); - SERIAL_DEBUG.printf("keynumber : %d,%d\r\n",key_hit_ID,cmd[1] ); // : TEST only ! + + //SERIAL_DEBUG.printf("keynumber : %d,%d\r\n",key_hit_ID,cmd[1] ); // : TEST only ! //Reset interrupt flag cmd[0] = REG_INT_STAT; //pointer byte to Interrupt Status Register