We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0dd4c5 commit 68113a1Copy full SHA for 68113a1
tdeck/tdeck.ino
@@ -69,7 +69,12 @@ void loop()
69
if (keyInfo[0] != 0x00 || keyInfo[1] != 0x00 || keyInfo[2] != 0x00 || keyInfo[3] != 0x00 || keyInfo[4] != 0x00 || keyInfo[5] != 0x00)
70
{
71
Serial.print("char: ");
72
- Serial.println(keyInfo[0]);
+ // print keyInfo[0] as a character, number and hex value
73
+ Serial.print((char)keyInfo[0]);
74
+ Serial.print(" ");
75
+ Serial.print(keyInfo[0]);
76
+ Serial.print(" 0x");
77
+ Serial.println(keyInfo[0], HEX);
78
Serial.print("alt: ");
79
Serial.println(keyInfo[1]);
80
Serial.print("ctrl: ");
0 commit comments