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 autoscroll. But that's it. 
There is no place for any other options and yet it works fine.

The Serial Monitor uses the "/dev/tty.usbmodem1a21" instead of the 
"/dev/cu.usbmodem1a21" that LC likes to use.

Also there are no options for Hardware Handshaking or any other options like we 
would set in the serialControlString in LC.
In my research I have seen people mentioning the 8 - 1 - none but all of the 
serial code that I've seen doesn't even set anything more than Serial.begin and 
Serial.println -- not even end. (--  Serial.begin(9600) and Serial.println(val) 
- -) I hooked up a button and connected it to Serial.end() to try to stop 
sending data but almost every piece of code I have seen does not use the 
Serial.end() at all.

I think there is a problem in both the code I am using to read the incoming 
serial data (looping and line endings) and maybe there is an issue with the 
buffering of the serial data coming from the Arduino Uno.

So, I can't find a good list of the parameters that I should use for the serial 
port and for entering in the serialcontrolstring.

Still looking though. 

Thanks,

-- Tom McGrath III
http://lazyriver.on-rev.com
[email protected]

On Jan 22, 2011, at 8:51 AM, -=>JB wrote:

> 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 giving you
> all of the options it has now.
> 
> -=<JB<=-
> 
> 
> On Jan 21, 2011, at 4:58 PM, Thomas McGrath III wrote:
> 
>> 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
>> [email protected]
>> 
>> On Jan 21, 2011, at 7:36 PM, Claudi Cornaz wrote:
>> 
>>> 
>>> Tom,
>>> 
>>> Which version combination are you using?
>>> 
>>> Best wishes,
>>> Claudi
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> [email protected]
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to