Hello,
I am using the Bluepill board and online compiler. When I had connected serial port to the terminal, there was not a problem to send some information like:
In second step I want to have connected smart display on serial port. This display accept commands like this
t0.txt=“Running” (area t0 shows text Running) and this I need to send to UART.
But I don’t have idea, how to included the apostrophe into the serial message (I have tried method with single apostrophe, but no success). The UART message to this display must be something like this:
Compiler don’t accept this construction. I get errors:
Warning: Too many characters in character literal – extra leading characters ignored in “main.cpp”, Line: 239, Col: 18
Error: Argument of type “int” is incompatible with parameter of type “const char *” in “main.cpp”, Line: 239, Col: 18
Thank you very much for your help and tips how to solve it.