Development Team/Arduino: Difference between revisions
Appearance
RafaelOrtiz (talk | contribs) m sketch.. |
RafaelOrtiz (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
''Note that on an | ''Note that on an XO laptop you have to tweak some your Arduino.sh script in these or similar ways'' | ||
#!/bin/sh | |||
#!/bin/sh | |||
APP=`dirname $0` | APP=`dirname $0` | ||
# | # | ||
EXE="$APP/Contents/Linux686" | EXE="$APP/Contents/Linux686" | ||
RES="$APP/Contents/Resources" | RES="$APP/Contents/Resources" | ||
Line 33: | Line 32: | ||
"$RES/Arduino.2.image" | "$RES/Arduino.2.image" | ||
== Installation and use procedure == | == Installation and use procedure == |
Revision as of 11:39, 22 December 2009
There are different options to connect your arduino board to Sugar (trough sugar-capable activities)
Squeak
Thanks to the great work found on Tecnodacta
We can download an squeak project and install it on our Sugar. This script can help in the process.
#/bin/bash echo "Downloading.." echo "" curl -o Arduino.zip http://tecnodacta.com.ar/gira/Arduino.7.zip unzip Arduino.zip echo "Executing.." echo "" cd Arduino.7/ ./Arduino.sh.
Note that on an XO laptop you have to tweak some your Arduino.sh script in these or similar ways
#!/bin/sh APP=`dirname $0` # EXE="$APP/Contents/Linux686" RES="$APP/Contents/Resources"
exec "/usr/bin/squeak" \
-plugins "$EXE" \ -encoding latin1 \ -vm-display-X11 \ "$RES/Arduino.2.image"
Installation and use procedure
Turtle Art
The code needed is located at (Thnks to Sayamindu Dasgupta)
This uses the same firmata protocol that the arduino-squeak connection uses.