Added output in bytes to serial
This commit is contained in:
@@ -110,12 +110,15 @@ void setup(){
|
||||
|
||||
void loop(){
|
||||
static bool led_wrk = false;
|
||||
uint8_t in_b;
|
||||
|
||||
ArduinoOTA.handle();
|
||||
crc = 0;
|
||||
offset = 0;
|
||||
while(softSer.available()){
|
||||
readByte(softSer.read());
|
||||
in_b = softSer.read();
|
||||
Serial.print(in_b, 16);
|
||||
readByte(in_b);
|
||||
}
|
||||
if(cRun + 999 < millis()){
|
||||
cRun = millis();
|
||||
@@ -268,6 +271,7 @@ void readByte(uint8_t data) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
Serial.println();
|
||||
Serial.println(cur_operation);
|
||||
//publish_state();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user