Claudi, Ok, I downloaded your stack and am testing now. (Trivial: The Note would not go away with out error so I read it and then moved it out of the way.)
My Arduino code continuously loops sending the result of a simple math to the PC. So it returns 0 originally but if I send 1 it returns 2 and if I send 4 it returns 5 etc. /dev/cu.usbmodem* = cu /dev/tty.usbmodem* = tty I tried cu Driver -- "Opened OK" - LED blinking send - no receiving - send blinks receive LED on Arduino Uno tty Driver -- HANGS - LED blink send - no receiving - no sending due to hang cu File -- "Can't open that file" NO LED blinking - no receiving - no sending tty File -- HANGS - LED blink send - no receiving - no sending due to hang Tried again cu File -- HANGS (unplug USB and plug back in) - receive data in buffer??? cu File -- "Opened OK" - HANGS (unplug/replug) - receive data - no sending since I just replugged it in Not sure what this says to this issue. I still think there is a buffer and or flow control problem and maybe still an EOF since that is what your code uses and I stopped using that in mine and was able to get a continuos read. Thanks (more troubleshooting) -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 23, 2011, at 9:29 AM, Claudi Cornaz wrote: > Tom and all, > > I have made a test stack which I now use to test my connections with the > arduino board. > > The sketch just echo's what it recieves back out with a delay of 500 > millisecs. (It's included with the stack) > > you can download the stack from: > http://dl.dropbox.com/u/13685013/arduino%20tester.livecode > > I have this working with my macbook OS 10.5.8 / livecode 4.5.2 build > 1150 / arduino uno 0022 driver: /dev/cu.usbmodem3d11 > I seems it's working partly with my iMac OS 10.6.6 / livecode 4.5.1 > build 1130 / arduino uno 0022 driver: /dev/cu.usbmodem3a21 > (sending seems ok. The arduino reacts by transmitting, I can see the tx led > flash, but I can't seem to recieve. > > The first thing I will do is to update livecode on my iMac to see what's > gonna change I guess. > > I'll post the results > > I hope this stack will prove usefull. > I am curious what works for you. If you have any questions, feel free to > contact me. > > Succes, > Claudi > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode