nodemecu/Debug/0x00_debug/0x00_debug.ino
2022-08-23 14:25:59 -03:00

16 lines
266 B
C++

int inQuery;
void setup() {
Serial.begin(9600);
}
void loop() {
if ( Serial.available() > 0) {
inQuery = Serial.read();
Serial.print("Decimal: ");
Serial.println(inQuery);
Serial.print("Hexadecimal: ");
Serial.println(inQuery, HEX);
}
}