Connecting to arduino bluetooth module - Raspberry Pi Forums
hi there, i'm workin on project consist of controlling arduino robot ( https://www.adafruit.com/products/1588 bluetooth module on ) raspberry pi. found tutorial http://blog.dawnrobotics.co.uk/2013/11/ ... pberry-pi/ , followed without problems ( had troubles pairing devices seem ok ). wrote little piece of code ( did not try code in tutorial ) see if robot receiving order pi when run code, there error : code: select all traceback (most recent call last): file "test.py", line 6, in <module> bluetoothserial.write("forward") file "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 485, in write raise serialexception('write failed: %s' % (v,)) serial.serialutil.serialexception: write failed: [errno 107] transport endpoint not connected here code : code: select all #! /usr/bin/python import serial import time bluetoothserial = serial.serial( "/dev/rfcomm1", baudrate=9600 ) time.sleep(5) bluetoo...