I have a stream of json data coming from a sensor which is connected to my raspberry pi. I essentially need to post this data to another sensor that is connected via http.
First, I am having a hard time even reading the data. I am trying to use this script
Code: Select all
import serial ser = serial.Serial('/dev/ttyACM0', 115200) ser.write(b'\x4c\xff\x46')
Any guidance would be greatly appreciated, thanks.