Hi Everybody. I'm just started with Pharo, and Arduino. And i like to comunicate both. I instaled the package sent by Ricardo Moran in a Pharo 1.4 with the Cogvm from the Jenkins server, but i can't make the serials port works. The Arduino board, i have, is connected to usb, wich ubuntu detects as /dev/ttyACM0.
I tried opening serial ports, like this: sp:=SerialPort new. sp openPort: '/dev/ttyACM0'. sp openPort: 'ttyACM0'. sp openPort: 'ACM0'. sp openPort: '/ttyACM0'. But all they fail with a error saying ""Cannot open..." After that, i have also, tried this: (1 to: 10000) select:[:port | [SerialPort new openPort:port;close. true] on:Error do: [false]] and had a empty collection. And also tried giving full permissions to the port and executed the vm sudoed... Are serial ports working on ubuntu?. Do i have to download a special vm?. (I would like to do a demo of arduino on monday, at work, and i would like to do in Pharo.) Cheers, Mariano