Raspberry Pi - Serial UART Communication
What will be the output of this Python code snippet on Raspberry Pi?
import serial
ser = serial.Serial('/dev/ttyUSB0', baudrate=4800, timeout=2)
data = ser.read(5)
print(len(data))