<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Replace your arduino.py (in the folder /plugins/arduino) with this.<div>This version checks for ttyUSB and ttyACM</div><div><br></div><div>I don't have an arduino to check it, but I think that must work.</div><div><br></div><div>I'm not sure why your board no is listed like a serial device..<br><br><div><div id="SkyDrivePlaceholder"></div>> To: gerald.ardito@gmail.com<br>> CC: alanjas@hotmail.com; iaep@lists.sugarlabs.org<br>> From: forster@ozonline.com.au<br>> Date: Fri, 5 Oct 2012 15:01:29 +1000<br>> Subject: Re: Re: [IAEP] Arduino and XO-1<br>> <br>> > Alan,<br>> > <br>> > Upon doing some research, apparently /dev/ttyACM0 is the identifier for<br>> > the board.<br>> > <br>> > Do I have to modify the plugin? If so, how do I do this?<br>> <br>> in my blogpost i give a link to a dirty hacked version for ttyACM0<br>> <br>> This version http://www.box.com/shared/bsf8tmj6al is hard coded to dev/ttyACM0, that means it only works the first time the Leostick is plugged in and not at all for older Arduino boards. It is patched and works on Sugar 0.94.<br>> <br>> I cant remember where or what I patched exactly but somewhere in the plugin code it looks for ttyUSBn, n=1,2,3 ..... and I hacked that<br>> <br>> It would be good if a more competent programmer than me had it search the ttyUSBn and ttyACMn<br>> <br>> Tony<br></div></div> </div></body>
</html>