Difference between revisions of "Activities/Turtle Art/Arduino"

From Sugar Labs
Jump to navigation Jump to search
Line 21: Line 21:
 
Use the latest Firmata version (2.1 as of now) downloaded from the Firmata page (firmata.org)
 
Use the latest Firmata version (2.1 as of now) downloaded from the Firmata page (firmata.org)
 
The Firmata version included with the Arduino IDE has some inconsistencies.
 
The Firmata version included with the Arduino IDE has some inconsistencies.
 +
 +
This version has english and spanish translations. Other localizations may require some code adjustments due to inconsistencies in the file naming scheme.
  
 
====downloads====
 
====downloads====
 
The .xo file can be downloaded from:
 
The .xo file can be downloaded from:
 
https://desarrollo.ceibal.edu.uy/attachments/download/74/TortugArdu-86.xo
 
https://desarrollo.ceibal.edu.uy/attachments/download/74/TortugArdu-86.xo

Revision as of 09:21, 12 May 2010

Turtle Art with Arduino

examples

Blink led in Arduino pin 13

descriptions

Based on the existing version on TurtleArt with Arduino: http://wiki.sugarlabs.org/go/Development_Team/Arduino#Turtle_Art

and the base work for refactoring adapting the Arduino version to the latest Turtleart structure: http://git.sugarlabs.org/projects/turtleart/repos/refact-for-arduino

This version is based on the mainline version of TurtleArt 0.86

The Arduino functionality was corrected from previous versions: - Analog and digital reading now works correctly - Auto detection of ttyUSBx port for FTDI device (Arduino board uses this for USB)

It requires the Firmata protocol to be uploaded to the Arduino board. Use the latest Firmata version (2.1 as of now) downloaded from the Firmata page (firmata.org) The Firmata version included with the Arduino IDE has some inconsistencies.

This version has english and spanish translations. Other localizations may require some code adjustments due to inconsistencies in the file naming scheme.

downloads

The .xo file can be downloaded from: https://desarrollo.ceibal.edu.uy/attachments/download/74/TortugArdu-86.xo