void setup()
{
Serial.begin(115200);
Serial.println("Start");
Serial1.begin(115200);
}
void loop() // run over and over again
{
if (Serial1.available()) {
// if((int)Serial1.read() != 128 && (int)Serial1.read() !=0 && (int)Serial1.read() != -1)
{
Serial.print((char)Serial1.read());
}
}
}
ok.. that works... but i get a lot of wrong characters... do i miss something that cleans up the signal?
Example output:
üúåVËaddrmss"from /tmp/bootloader_channel.conf
Current system time is 946684855
Scanning infocast channel 220,
.2.2:22222
Setting tZ[Y«Ñto 10 seconds
UP BR*
n
MQRUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0úg{¯«z2-
" TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
J¹?Ñaddr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1