Serial.write(0x02) write 0x3F WTF ???


When I write: Serial.write(0x02);

And next, I read my RS232 port: I read 0x3F

Why ????

Thanks you !!

What does Serial have to do with your RS232 port. Arduino's nor PC's have RS232!


Assuming you mean a PC serial port and you have a proper adapter, then there might be a baud rate mismatch.

Yes.. TTL and RS232 it was the problem ! Thanks