Dec-26-2017, 11:34 PM
I am working on Python 2.7.9 and attempting to parse the serial data. The error I get is AttributeError: 'Serial' object has not attribute 'split'
I am running this on a Pi, and assured that pySerial is installed and updated.
I am running this on a Pi, and assured that pySerial is installed and updated.
import serial data = serial.Serial("/dev/ttyACM0", 9600) datasplit = data.split(",") IR_Data = datasplit [0] while true: print IR_Data.readline()Any ideas?