In my nybble, I can write from the Raspberry Pi but cannot read it through serial communication between NyBoard V0_2 and RaspberryPi 3B+.
Serial communication is enabled and console is disabled in the rasbian settings.
After running the python code below, I get nothing when I run ser.readline ().
ser = serial.Serial (
port = '/dev/ttyAMA0',
baudrate = 57600,
parity = serial.PARITY_NONE,
stopbits = serial.STOPBITS_ONE,
bytesize = serial.EIGHTBITS,
timeout = 1
However, nybble works normally when I execute the following command.
echo "kbalance"> /dev/ttyAMA0
On the other hand, the following command does not display anything
Why can I write to nybble but not read it from my Raspberry Pi? Is it likely a hardware problem?
I used the following tools on my Raspberry Pi and confirmed that GPIO # 14 and # 15 are true.