Goodmorning,
When i run a python script for my BrickPi+, i got a error that i don’t understand.
For some more info, I got a Raspberry pi 3 and BrickPi+. Powered with 8 volts. Ac power and 9v power at batteries.
I use as os Raspian for Robots with the latest firmware.
The error i get:
Traceback (most recent call last):
File “BrickPi_Hardware_Test.py”, line 32, in
BrickPiSetupSensors() #Send the properties of sensors to BrickPi. Set up the BrickPi.
File “/home/pi/Dexter/BrickPi+/Software/BrickPi_Python/Sensor_Examples/BrickPi.py”, line 492, in BrickPiSetupSensors
BrickPiFlush() # Toss out any old Rx data. This helps to make sure everything is fresh, and for the correct “core”.
File “/home/pi/Dexter/BrickPi+/Software/BrickPi_Python/Sensor_Examples/BrickPi.py”, line 697, in BrickPiFlush
while ser.inWaiting():
File “/usr/lib/python2.7/dist-packages/serial/serialutil.py”, line 572, in inWaiting
return self.in_waiting
File “/usr/lib/python2.7/dist-packages/serial/serialposix.py”, line 456, in in_waiting
s = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)
IOError: [Errno 25] Inappropriate ioctl for device
(program exited with code: 1)
Press return to continue
Hope you can help me!