Re: [Sugar-devel] Turtleart and Arduino

2009-12-21 Thread Rafael Enrique Ortiz Guerrero
This is other iteration,

http://people.sugarlabs.org/rafael/Draw-leds.png

Turtle moves, changes screen's color and led goes on and off along
turtle's path.



Rafael Ortiz



On Sun, Dec 20, 2009 at 5:35 PM, Rafael Enrique Ortiz Guerrero
dir...@gmail.com wrote:
 Yes you are right..

 the delay is needed, this screenshot is not accurate :)



 Rafael Ortiz



 On Sun, Dec 20, 2009 at 5:00 PM, James Cameron qu...@laptop.org wrote:
 On Sat, Dec 19, 2009 at 10:57:12PM -0500, Rafael Enrique Ortiz Guerrero 
 wrote:
 You can test if everything is o.k using these blocks that use the on
 board led of the board..

 http://people.sugarlabs.org/rafael/Arduino-turtle1.png

 Shouldn't there be a delay between writing low to the pin and writing
 high?  Or are you relying on the execution time?

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


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Turtleart and Arduino

2009-12-20 Thread James Cameron
On Sat, Dec 19, 2009 at 10:57:12PM -0500, Rafael Enrique Ortiz Guerrero wrote:
 You can test if everything is o.k using these blocks that use the on
 board led of the board..
 
 http://people.sugarlabs.org/rafael/Arduino-turtle1.png

Shouldn't there be a delay between writing low to the pin and writing
high?  Or are you relying on the execution time?

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Turtleart and Arduino

2009-12-20 Thread Rafael Enrique Ortiz Guerrero
Yes you are right..

the delay is needed, this screenshot is not accurate :)



Rafael Ortiz



On Sun, Dec 20, 2009 at 5:00 PM, James Cameron qu...@laptop.org wrote:
 On Sat, Dec 19, 2009 at 10:57:12PM -0500, Rafael Enrique Ortiz Guerrero wrote:
 You can test if everything is o.k using these blocks that use the on
 board led of the board..

 http://people.sugarlabs.org/rafael/Arduino-turtle1.png

 Shouldn't there be a delay between writing low to the pin and writing
 high?  Or are you relying on the execution time?

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

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Turtleart and Arduino

2009-12-19 Thread Sayamindu Dasgupta
Hello everyone,
Over the past few weekends, I have been working on adding Arduino[1]
support to TurtleArt, and you can get the latest code from
http://git.sugarlabs.org/projects/turtleart/repos/arduino-support
If you have an Arduino board lying around, it would be great if you
could test out the code, and let me know if something refuses to work.
Here's a screenshot: http://people.sugarlabs.org/sayamindu/ta_arduino.png
Instructions on how to set up your board, etc are at
http://git.sugarlabs.org/projects/turtleart/repos/arduino-support/blobs/master/README.arduino
Thanks,
Sayamindu


[1] http://www.arduino.cc/

-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Turtleart and Arduino

2009-12-19 Thread Rafael Enrique Ortiz Guerrero
Hi Saya

Nice work!

To the curious out there:

you need to have python-serial as dependency (pyserial)

in your arduino you need this firmata

http://at.or.at/hans/pd/Firmata-2.1beta7.zip

You can test if everything is o.k using these blocks that use the on
board led of the board..

http://people.sugarlabs.org/rafael/Arduino-turtle1.png


cheers!,
Rafael Ortiz



On Sat, Dec 19, 2009 at 8:00 AM, Sayamindu Dasgupta sayami...@gmail.com wrote:
 Hello everyone,
 Over the past few weekends, I have been working on adding Arduino[1]
 support to TurtleArt, and you can get the latest code from
 http://git.sugarlabs.org/projects/turtleart/repos/arduino-support
 If you have an Arduino board lying around, it would be great if you
 could test out the code, and let me know if something refuses to work.
 Here's a screenshot: http://people.sugarlabs.org/sayamindu/ta_arduino.png
 Instructions on how to set up your board, etc are at
 http://git.sugarlabs.org/projects/turtleart/repos/arduino-support/blobs/master/README.arduino
 Thanks,
 Sayamindu


 [1] http://www.arduino.cc/

 --
 Sayamindu Dasgupta
 [http://sayamindu.randomink.org/ramblings]
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel