[Mono-list] Serial Port Writing
Guiz
guillaume.androz at gmail.com
Fri Jan 4 20:00:16 UTC 2013
Hi !It's my first steps into mono world on Ubuntu 12.04, and I have a little
issue I can not explain yet.My simple example consists to instanciate a
serial port, open it, send it a string then close it. The port is the right
port as it works with a command line echo. It also works when I use the
debugger step by step, but if I run the while code once, nothing is written
on the port. I added loops before and after the write command to add some
depay, but the result is the same.What am I doing wrong ?The code
:*SerialPort port = new SerialPort("/dev/ttyACM0",
9600);port.Open();port.Write("UP");port.Close();*Thanks !
--
View this message in context: http://mono.1490590.n4.nabble.com/Serial-Port-Writing-tp4657994.html
Sent from the Mono - General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20130104/da0ad18d/attachment.html>
More information about the Mono-list
mailing list