Re: usb driver problem

2011-01-27 Thread Thomas McGrath III
Minor correction: put theData & comma & " " after field "Data" -- Output so it is all on one line to see better is now just: put theData & " " after field "Data" -- no comma needed -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 28, 2011, at 12:46 AM, Thomas McGra

Re: usb driver problem

2011-01-27 Thread Thomas McGrath III
Well, Claudi and I have been very busy sharing code snippets and stories and what not and I have also come to most of the same conclusions as he has. The problem is definitely in the "until EOF" "until empty" etc. and in trying to access the serial buffer. My solution is a little different and i

Re: usb driver problem

2011-01-27 Thread Mark Wieder
Claudi- Congratulations on getting this working. And that's quite a story. I see a bright future ahead for LiveCode-Arduino cyborgs. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: usb driver problem

2011-01-27 Thread Jerry J
On Jan 27, 2011, at 2:15 PM, Claudi Cornaz wrote: > Hi all yea, > > 17.23 CET. Finaly we have contact Congratulations! Just in time for me. I'm just about to have to hook up to two serial devices in a project to replace a HC stack that has been running for about 12 years on a PowerBook G3

Re: usb driver problem

2011-01-27 Thread Claudi Cornaz
Hi all yea, 17.23 CET. Finaly we have contact 12345678 /1296144957195 12345678 /1296144957802 12345678 /1296144958107 12345678 /1296144958412 12345678 /1296144959018 12345678 /1296144959322 12345678 /1296144959629 data kept on comming. Now I k

Re: usb driver problem

2011-01-27 Thread Mark Wieder
Tom- Thursday, January 27, 2011, 6:55:59 AM, you wrote: > The question remains that this piece of code works in previous OS > versions so what has changed in 10.6.6 and what needs changed in LC > to read until EOF with out crashing. Or is that what you meant by > That is Not a Good Thing? ;-) Ye

Re: usb driver problem

2011-01-27 Thread Thomas McGrath III
Good catch Mark, I notice the getbuffer line and then the read to eof -- Claudi can answer if that was a loop but from looking at his code, in the stack he shared with me, the read from driver until eof is where this crashed: > if the hilitedButtonName of grp "driverFile radioGrp" = "driver"

Re: usb driver problem

2011-01-26 Thread Mark Wieder
Claudi- Wednesday, January 26, 2011, 2:48:22 AM, you wrote: > Thread 0 Crashed: > 0 libSystem.B.dylib 0x91ddde42 __kill + 10 > 1 libSystem.B.dylib 0x91e5023a raise + 26 > 2 libSystem.B.dylib 0x91e5c622 __abort + 97 > 3 libSystem.B.dyli

Re: usb driver problem

2011-01-26 Thread Thomas McGrath III
Ok, so Heather said that this would not be possible as a quick fix type support ticket but that the team was looking into it and that I should open a bug report so here it is: Report 9341 has been added to the database http://quality.runrev.com/qacenter/show_bug.cgi?id=9341 @Claudi - please a

Re: usb driver problem

2011-01-26 Thread Kee Nethery
I'd be happy to donate an Arduino to the LC bug team if they need one to fix this. Kee Nethery ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http:

Re: usb driver problem

2011-01-26 Thread Claudi Cornaz
Hi all, Opening and closing the port after each read has a critical drawback. Each time you open the port, at least on mac, the arduino will reset itself, this means it will bootup. This not only takes time but all other data will be lost. This of course creates a big problem, or makes it compl

Re: usb driver problem

2011-01-25 Thread Thomas McGrath III
They could very well be related. I have asked Heather is this could be a Support Ticket item for the team to look into. Waiting patiently -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 25, 2011, at 11:05 AM, Mark Wieder wrote: > Tom- > > Is this possibly related to

Re: usb driver problem

2011-01-25 Thread Mark Wieder
Tom- Is this possibly related to bz #1708? -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.run

Re: usb driver problem

2011-01-25 Thread xfratboy
Have you tried adding about 100 milisec wait before and/or between writes? -Original Message- From: "Thomas McGrath III-3 [via Runtime Revolution]" Date: Tue, 25 Jan 2011 06:42:33 To: xfratboy Subject: Re: usb driver problem Playing with Applescript communicating with t

Re: usb driver problem

2011-01-25 Thread Thomas McGrath III
Playing with Applescript communicating with the Arduino Uno I noticed an issue that might be related to the LiveCode problem of hanging during a connection. In the Applescript that works I close the port first and then return the result as in: set tSerialReturn to serialport read portRe

Re: usb driver problem

2011-01-24 Thread Thomas McGrath III
Well, I got tired of testing and waiting for a solution to LiveCode directly connecting, sending, and receiving serial data to/from the Arduino Uno and found an alternative method instead. In this stack I use an Applescript OSAX and control that from within LivceCode via Applescript. I hacked to

Re: usb driver problem

2011-01-23 Thread Jerry J
On Jan 23, 2011, at 3:05 PM, David C. wrote: >> I don't have much experience with UNIX drivers, or how they're named. I can >> guess what tty is short for, but no clue about cu. > > This resource may be helpful to ya: > http://www.computerhope.com/unix/ucu.htm The first two hits when googling /

Re: usb driver problem

2011-01-23 Thread Claudi Cornaz
Anybody know where to look for the crash log of LC? Perhaps this might give a clue. I opened up console but didn't find the relevant part to look. Best wishes, Claudi ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this u

Re: usb driver problem

2011-01-23 Thread Claudi Cornaz
Hello all, It's good to see this thread is picking up some steam, because this could realy be something LC could shine in. A easy and powerful environment to control all things around us, motors, sensors, solarpanels, your thermostat, you name it, the sky is the limit. Ok, it's getting strange

Re: usb driver problem

2011-01-23 Thread David C.
> I don't have much experience with UNIX drivers, or how they're named. I can > guess what tty is short for, but no clue about cu. This resource may be helpful to ya: http://www.computerhope.com/unix/ucu.htm Best regards, David C. ___ use-livecode mai

Re: usb driver problem

2011-01-23 Thread Jerry J
On Jan 23, 2011, at 7:09 AM, Thomas McGrath III wrote: > Jerry, > > Maybe you can answer this? The Arduino ide prefers to use the cu.usbmodem* > and some of the tests I have done in LC have shown that the tty.usbmodem* is > the better choice for receiving data from the Arduino Uno and the > cu

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
Also, I was under the impression that the 3d11 was a serial number from the Arduino forums but maybe they were wrong about that. I wonder if that is a registration number of that port as it were. So two different numbers on two OS's or machines would be normal. Still no answer though. More re

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
This is the part that gets me. If you were able to get it working in 10.5 then what has changed in 10.6 ? I don't have 10.5 to test. I am curious if LC knows what might have changed and if they have accounted for it in these newer versions of LC? They may not even be aware of a problem if t

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
and error which I'm staring to figure out a little bit. Feel free to > contact me off topic if you are interested in how to do this or maybe we can > start another thread. > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/usb-dr

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
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 a

Re: usb driver problem

2011-01-23 Thread xfratboy
or your specific device. That's a whole-nutha-level of trial and error which I'm staring to figure out a little bit. Feel free to contact me off topic if you are interested in how to do this or maybe we can start another thread. -- View this message in context: http://runtime-revoluti

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
Jerry, Maybe you can answer this? The Arduino ide prefers to use the cu.usbmodem* and some of the tests I have done in LC have shown that the tty.usbmodem* is the better choice for receiving data from the Arduino Uno and the cu.usbmodem* when trying to send. I am not sure what the difference be

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
Claudi, I am using OSX 10.6.6 Downloading your stack now so at least we can be on the same page for testing. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 23, 2011, at 5:46 AM, Claudi Cornaz wrote: > Tom and all, > > What I have found about these settings

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
Mark, Thank you for this. I am going to focus on these settings you describe. Especially after reading Jerry's primer I think you both are right and this is where to start. Yes, the Arduino can and does work well from the Terminal "screen" program. Also from 'many' downloaded serial reader/mon

Re: usb driver problem

2011-01-23 Thread Claudi Cornaz
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%20tes

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
Jerry, I know that's the short version because I've spent two weeks reading through the long version/s available on the internet until I completely mired myself to the point I wanted to drop this project. But I have hung on and my reward is reading your well written and very well thought out de

Re: usb driver problem

2011-01-23 Thread Claudi Cornaz
Tom and all, What I have found about these settings is the baudrate of course and then 8 databits 1 stopbit no parity. That's it. I have found this info in the pref file of the arduino IDE, which is in the users library/Arduino folder. I have now connected a LCD screen and keypad to my arduino

Re: usb driver problem

2011-01-23 Thread Mark Wieder
Jerry- Saturday, January 22, 2011, 11:47:29 PM, you wrote: > My guess was that oDSR would force the DSR line true, and iDSR > would cause it to be used. More confusion about terminals vs. > modems. ARGGH. I have an old slow logic analyzer that can capture Yeah, the DTE/DCE thing would always tri

Re: usb driver problem

2011-01-22 Thread Jerry J
My guess was that oDSR would force the DSR line true, and iDSR would cause it to be used. More confusion about terminals vs. modems. ARGGH. I have an old slow logic analyzer that can capture all this crap if I need to, which I hope I won't because its been a long time and its no picnic to hook u

Re: usb driver problem

2011-01-22 Thread Mark Wieder
Jerry- Very nice writeup. Tom- Given that you're using an emulated serial port, my guess is that you won't have to fiddle with the handshaking lines. This is where a usb breakout box would really come in handy. But depending on the emulation, some of the things that might affect buffering would

Re: usb driver problem

2011-01-22 Thread stephen barncard
I could see how that could be useful with a buffer in the middle... At that point one would need a 4 trace scope to debug problems with these... On 23 January 2011 01:19, Mark Wieder wrote: > stephen- > > Saturday, January 22, 2011, 11:11:40 PM, you wrote: > > > don't have to be +-12 volts which

Re: usb driver problem

2011-01-22 Thread Mark Wieder
stephen- Saturday, January 22, 2011, 11:11:40 PM, you wrote: > don't have to be +-12 volts which was a PIA. And I've never heard of oDSR > and oDTS either.. oDSR, oCTS, and iSDR (I'm really hoping that's a typo in the docs) are apparently revspeak for the DSR, CTS, and DSR pins, with a leading o

Re: usb driver problem

2011-01-22 Thread stephen barncard
Also in the 80's I used this hardware device that worked well for my tape copy project at A&M studios the CY233 intelligent controller chip . On 23 January 2011 01:11, stephen barncard wrote: > thanks Jerry, I started to explain this - been messing with UA

Re: usb driver problem

2011-01-22 Thread stephen barncard
thanks Jerry, I started to explain this - been messing with UARTS since the late 70s but you did a much better job. The bottom line is that this stuff is a lot simpler these days with buffers and most of these handshake lines are not needed today and the voltages don't have to be +-12 volts which w

Re: usb driver problem

2011-01-22 Thread -=>JB<=-
Very nice info. Thank you! -=>JB<=- On Jan 22, 2011, at 10:50 PM, Jerry J wrote: > On Jan 22, 2011, at 9:37 PM, Thomas McGrath III wrote: > >> The serialControlString seems to be the only way to set things for the >> serial port connection. Which of these might effect Buffering or cause the

Re: usb driver problem

2011-01-22 Thread Jerry J
On Jan 22, 2011, at 9:37 PM, Thomas McGrath III wrote: > The serialControlString seems to be the only way to set things for the serial > port connection. Which of these might effect Buffering or cause the port to > hang. > > The possible settings are as follows: > * BAUD=number: the port's baud

Re: usb driver problem

2011-01-22 Thread Thomas McGrath III
The serialControlString seems to be the only way to set things for the serial port connection. Which of these might effect Buffering or cause the port to hang. The possible settings are as follows: * BAUD=number: the port's baud rate * PARITY=N, O, or E: no parity, odd parity, or even parity * D

Re: usb driver problem

2011-01-22 Thread Thomas McGrath III
Found some more information on this from the Arduino Forums. It seems to me that the disconnect connect in HT is similar to what I have been doing by hand. And that HT is doing some kind of buffering due to incorrect Flow Control Settings. But how can I test this in LC??? > "When my program st

Re: usb driver problem

2011-01-22 Thread -=>JB<=-
Thanks for the reply and info. This is a very interesting thread so please keep us informed with anything you find that will help. -=>JB<=- On Jan 22, 2011, at 8:04 AM, Thomas McGrath III wrote: > JB, > > That's just it - in the Arduino IDE you have Serial Monitor and it actually > has an op

Re: usb driver problem

2011-01-22 Thread Thomas McGrath III
JB, That's just it - in the Arduino IDE you have Serial Monitor and it actually has an option for "No line ending", "Newline", "Carriage return", "Both NL & CR" and then most of the time it looks like 9600 baud is used.You can select from 300 to 115200 baud. You can also check a box for autoscr

Re: usb driver problem

2011-01-22 Thread -=>JB<=-
What are the parameters they list you need for the serial port if you want the hardware to connect using a mac? The stack I sent you can set every parameter I saw in Rev when I wrote it so I can easily alter the code to set the serialcontrolstring using the parameters they provide you instead of g

Re: usb driver problem

2011-01-21 Thread Thomas McGrath III
LIvecode 4.5.2 and 4.5.3(rc4) Arduino Uno 0022 Sarah's SerialTest stack modified with the MakeBoard code for finding the port name since the SerialTest stack does not find the port. Arduino Code which works from Serial Monitor within Arduino IDE but not from LiveCode: /*Simple Serial L

Re: usb driver problem

2011-01-21 Thread Thomas McGrath III
Do you have a more simple stack for LC? I just want to see if it connects... Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 21, 2011, at 7:36 PM, Claudi Cornaz wrote: > > Tom, > > Which version combination are you using? > > Best wishes, > Claudi > > _

Re: usb driver problem

2011-01-21 Thread Claudi Cornaz
Tom, Which version combination are you using? Best wishes, 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/l

Re: usb driver problem

2011-01-21 Thread Claudi Cornaz
I just realize it's not only the os version that's different. My macbook has a older version of livecode aswell. Some more sleuthing to do. First thing, sometime tomorrow or this weekend. Keep you posted. Best wishes, Claudi ___ use-livecode mailin

Re: usb driver problem

2011-01-21 Thread Thomas McGrath III
Ben, This did help. When trouble shooting I think I changed too many variables. I need to get back to square one and start again now that I have made some progress. Let you know when I come up with something. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 21, 2011,

Re: usb driver problem

2011-01-21 Thread Thomas McGrath III
Jan, I think you are right. I originally was checking both the result and it and somewhere along the way just focused on it. So I will append the in 2 secs and check the result. Thanks for the heads up on this. Let you know what happens. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...

Re: usb driver problem

2011-01-21 Thread Thomas McGrath III
Clasudi, Hey that's great that you got yours today. I really like this little thing. And I like that it is cheap enough to include in some permanent projects. The Xbee and some other boards are more expensive but my be really helpful. I think it would be great to discuss this off list especiall

Re: usb driver problem

2011-01-21 Thread Claudi Cornaz
Tom, At the moment I got it working with my laptop with OS 10.5.8 I can send and recieve with livecode using open driver "/dev/cu.usbmodem3d11" I use the arduino 0022.dmg There is still something weird going on with a buffer or so. With the first send I do and even waiting after the send for 1

Re: usb driver problem

2011-01-21 Thread Ben Rubinstein
Tom, Caveats: I've not tried connecting to an Arduino, and I've done almost nothing with serial generally... so I don't really know what I'm talk about. But, when I was working with GPS (which are USB with FTDI etc pretending to be serial) I found two things: a) I know this is obvious, but

Re: usb driver problem

2011-01-21 Thread Jan Schenkel
--- On Thu, 1/20/11, Thomas McGrath III wrote: > Actually, as long as data is coming > from the Arduino the app works. The data comes in and fills > the field. But after the data stops being sent the system > hangs. Until I push the button on the Arduino to send more > data in which case the beach

Re: usb driver problem

2011-01-21 Thread Claudi Cornaz
Hi Thomas, Well, I recieved my arduino yesterday and started experimenting. I can upload a scetch to the board and it functions well. I can also communicate with it via ZTerm. (send and recieve) Now the most important part: communicating with it via livecode. Alas this gives me trouble aswell. H

Re: usb driver problem

2011-01-20 Thread Thomas McGrath III
Actually, as long as data is coming from the Arduino the app works. The data comes in and fills the field. But after the data stops being sent the system hangs. Until I push the button on the Arduino to send more data in which case the beach ball goes away and the new data gets received again.

Re: usb driver problem

2011-01-20 Thread Thomas McGrath III
OK well I can read the data from the USB Serial Modem -- but -- after it is done the app hangs. So I can open the port and then read the port and I think close the port but the system hangs. HELP ?? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 21, 2011, at 12

Re: usb driver problem

2011-01-20 Thread Thomas McGrath III
It seems if I set the EOL to CRLF things work partly. i.e. The numbers show up in the field BUT the script keeps looping and will not stop causing the beach ball. Sarah's code: on readPort if the hilite of btn "Port open" = true then if recEOL is "empty" then resetEOL put the

Re: usb driver problem

2011-01-20 Thread Thomas McGrath III
UPDATE: Something is working but makes no sense. Found a few terminal screen ideas but they are outside of Livecode. No good. Found a few applescript examples but would rather keep this crossplatform if possible and a LC to OSC solution would work on iOS but applescript would not. Not best but m

Re: usb driver problem

2011-01-18 Thread Thomas McGrath III
I did just find an Applescript OSAX that will let me connect to the Arduino Uno. http://mysite.verizon.net/vzenuoqe/MacSoft.html SerialportX It might be a bridge for this computer anyways. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 18, 2011, at 11:03 PM, Thomas

Re: usb driver problem

2011-01-18 Thread Thomas McGrath III
I tried in terminal to do a screen /dev/cu.usbmodem1a21 and it worked. control a & control \ to stop and close port (I think) I don't know enough about shell to come up with a good script to try out here in LC. Any ideas? Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast

Re: usb driver problem

2011-01-18 Thread Thomas McGrath III
I installed the FTDIUSBSerial drive and nothing changes. I can see the /dev/cu.usbmodem1a21 in : Arduino IDE Terminal Cornflake Processing But not in Livecode : SerialTest MakeBoard Communicator MyOwnTestStack The Arduino Uno has a serial to usb chip on it so it doesn't use the FTDIUSBSerial dr

Re: usb driver problem

2011-01-18 Thread Thomas McGrath III
Claudi, yes and No. There is a driver that gets loaded on Leopard but it is not loaded in snow Leopard. They changed the way the Arduino Uno gets connected. "Open up the serial monitor (or any other terminal program) and use single-keystroke commands to control stepper motor speed, direction, a

Re: usb driver problem

2011-01-18 Thread Claudi Cornaz
Hi Thomas, I just ordered a arduino yesterday and hope to have it tommorow. I sure hope this can be solved. (Well I am very positive about that, one way or another, that's why I ordered one anyway) I have been looking on the web. I guess you did this already but just in case, here are some link

Re: usb driver problem

2011-01-17 Thread Thomas McGrath III
JB, yes that would be great. I am still trying to figure out why the Arduino will not recognize (or will but then crashes). Send it to wither of my addresses. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 17, 2011, at 9:32 AM, -=>JB wrote: > I wrote a seri

Re: usb driver problem

2011-01-17 Thread J. Landman Gay
On 1/17/11 2:29 PM, Bob Sneidar wrote: How then would the Mac OS know which modem port you were opening? There is only one "modem" serial port. The other is called the "printer" port. Technically both ports can accept any serial device, but in this case I assume the serial device is on the mo

Re: usb driver problem

2011-01-17 Thread Bob Sneidar
How then would the Mac OS know which modem port you were opening? How would it know you were talking about the USB port? There are older Macbooks and Desktops that actually have a modem as well as USB ports. I read the dictionary, but didn't see anything on how to actually specify the USB port.

Re: usb driver problem

2011-01-17 Thread J. Landman Gay
On 1/17/11 8:15 AM, Thomas McGrath III wrote: I will try this today when I get back home. should it be open file "modem:tty.usbmodem1a21" It's been ages since I tried it so I'm fuzzy about the details, but since you can only (usually) have one modem at a time, I don't think you need a path

Re: usb driver problem

2011-01-17 Thread -=>JB<=-
I wrote a serial stack if you want to look at examples of how to use the serial port and set the serialcontrol string. If you would like I will send it to you. -=>JB<=- On Jan 17, 2011, at 6:15 AM, Thomas McGrath III wrote: > I will try this today when I get back home. > > should it be open

Re: usb driver problem

2011-01-17 Thread Thomas McGrath III
Sarah, There are drivers for older version of OS but it says that in OSX it shows up as a modem with no driver needed as in the Network pane in the device List in system preferences under the Airport Ethernet etc. list items. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net

Re: usb driver problem

2011-01-17 Thread Thomas McGrath III
I will try this today when I get back home. should it be open file "modem:tty.usbmodem1a21" I gotta look up the serialControlString Thanks will get back with the results -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 17, 2011, at 1:06 AM, J. Landman Gay wrote: > O

Re: usb driver problem

2011-01-16 Thread J. Landman Gay
On 1/16/11 10:37 PM, Thomas McGrath III wrote: The dev/tty.usbmodem1a21 does not show up in the list using the SerialTest.rev stack. It does show up in the Arduino software Serial list. Also in the Arduino you have to use the tty.usbmodem1a21. Also when you plug the Arduino in the Mac detects a

Re: usb driver problem

2011-01-16 Thread Sarah Reichelt
Are there drivers? For KeySpan and other USB serial adapters, you have to install the drivers before they will work properly. Cheers, Sarah On Mon, Jan 17, 2011 at 2:37 PM, Thomas McGrath III wrote: > The dev/tty.usbmodem1a21 does not show up in the list using the > SerialTest.rev stack. > > I

Re: usb driver problem

2011-01-16 Thread Thomas McGrath III
Some programs OSC use Processing to talk through to the Arduino. Still trying to figure this out. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 16, 2011, at 11:58 PM, Kee Nethery wrote: > would love to talk to Arduino via Livecode. Too bad it does not work. > Kee Ne

Re: usb driver problem

2011-01-16 Thread Kee Nethery
would love to talk to Arduino via Livecode. Too bad it does not work. Kee Nethery ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runre

Re: usb driver problem

2011-01-16 Thread Thomas McGrath III
The dev/tty.usbmodem1a21 does not show up in the list using the SerialTest.rev stack. It does show up in the Arduino software Serial list. Also in the Arduino you have to use the tty.usbmodem1a21. Also when you plug the Arduino in the Mac detects a new modem and asks to set it up in Internet pr

Re: usb driver problem

2011-01-16 Thread Sarah Reichelt
On Sun, Jan 16, 2011 at 2:18 AM, Thomas McGrath III wrote: > > I am having trouble accessing an Arduino Uno attached to my computer via USB. > > The device driver shows up as "/dev/tty.usbmodem1a21" > > I tried a simple open driver then read from driver then close driver. But > Livecode keeps cra

Re: usb driver problem

2011-01-15 Thread Mark Wieder
Jacque- Saturday, January 15, 2011, 7:31:30 PM, you wrote: > There's no USB support per se, so if the device doesn't present itself > as a serial port device it won't work. > The path you use when you open a serial port as a file is the same one > you'd use in shell -- use the "/dev/tty.usbmodem

Re: usb driver problem

2011-01-15 Thread J. Landman Gay
On 1/15/11 10:54 AM, Thomas McGrath III wrote: I now keep getting "file is not open for read" on the cu.usbmodem1a21 and "eof" on the tty.usbmodem1a21 What am I missing here? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 15, 2011, at 11:18 AM, Thomas McGrath III w

Re: usb driver problem

2011-01-15 Thread Mark Wieder
Tom- Saturday, January 15, 2011, 8:18:26 AM, you wrote: > I am having trouble accessing an Arduino Uno attached to my computer via USB. I haven't looked at the Arduino since they changed the chipset, but it *should* be straightforward. I realize that's no help, and crashing LC is something that

Re: usb driver problem

2011-01-15 Thread Thomas McGrath III
I now keep getting "file is not open for read" on the cu.usbmodem1a21 and "eof" on the tty.usbmodem1a21 What am I missing here? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 15, 2011, at 11:18 AM, Thomas McGrath III wrote: > I am having trouble accessing an Ardui

usb driver problem

2011-01-15 Thread Thomas McGrath III
I am having trouble accessing an Arduino Uno attached to my computer via USB. The device driver shows up as "/dev/tty.usbmodem1a21" I tried a simple open driver then read from driver then close driver. But Livecode keeps crashing or worse my computer panics and dies. on mouseUp put "" into