I have designed a program in Raspberry Pi Pico to read a 4x4 matrix-keypad and inform the Raspberry Pi 4 for the key detected. I am using to send data from Raspberry Pi Pico to Raspberry Pi 4 over USB (virtual serial port). On raspberry Pi 4 I am receiving the data successfully on /dev/ACM0 I am using print command to send data.
print(f'Key Detected : {key_pressed})
While executing on Windows, I get strange behavior. As I run the program in Thonny, I get the message in shell but when I connect hyper terminal or CoolTerm I am unable to any messages.
Why is this happening?