[Sugar-devel] [ASLO] Release TurtleBots-27

James Cameron quozl at laptop.org
Sat Oct 25 01:43:50 EDT 2014


On TurtleBots-27:

The Arduino plugin doesn't seem to be working; a LED on D13 cannot be
turned on.  A warning dialog appears, with a yellow diamond, but no
text.

On Fedora 18 with an XO-4, and an Arduino Uno with Standard Firmata.

Manually operating pyfirmata using Terminal works fine:

% cd Activities/TurtleBots.activity/plugins/arduino/
% python
>>> import pyfirmata
>>> n = '/dev/ttyUSB0'
>>> b = pyfirmata.Arduino(n, baudrate=57600)
>>> it = pyfirmata.util.Iterator(b)
>>> it.start()
>>> b.digital[13]._set_mode(1)
>>> b.digital[13].write(1)
>>> b.digital[13].write(0)
>>> 

Works fine with turtlebots-22.xo

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list