Hi, this works for me doas cu -s 9600 -l /dev/cuaU0 or simply doas cu -l /dev/cuaU0
To more info, man cu Olivier Burelli <[email protected]> wrote: >Hello, > >i am playing with ARDUINO UNO on my 6.2 stable laptop. > >I am trying to read the serial monitor message from the board. > >from dmesg: >(...) >umodem0 at uhub3 port 1 configuration 1 interface 0 "Arduino >SrlArduino Uno" rev 1.10/0.01 addr 3 umodem0: data interface 1, has no >CM over data, has break umodem0: status change notification available >ucom0 at umodem0 > >should i use cat /dev/DEVICE >> file.txt ? >or >(stty raw; cat > /home/me/received.txt) < /dev/device ? > >--> which device is corresponding ? > >does the information: "data interface 1, has no CM over data, has >break" means that OpenBSD can not receive data from the board ? > >For example, i would like to catcg the strinf from the code below: >(...) >void setup(void) { > Serial.begin(9600); > // send the value of a string to the serial port (USB) > Serial.print("Hello world"); > return; >} >(...) > >Thanks in advance. > >O. > -- <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <div id="Signature"> <div id="divtagdefaultwrapper" dir="ltr" style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;"> <div class="moz-signature" style="font-size: 12pt;"> <table border="0" width="890"> <tbody> <tr><td width="164" height="4"> <img alt="" width="316" height="117" style="user-select: none;" src="http://www.pucpcaldas.br/uploads/8010/assinatura/ass_20anos.png"></td> <td width="900" height="125"> <p style="font-family:Segoe,Segoe UI,DejaVu Sans,Trebuchet MS,Verdana,' sans-serif'; font-size:11px; line-height:20px; color:#212121; margin:20px"> <small><span style="color:rgb(0,88,146); font-size:13pt"><span style="font-weight:bold"> <small>Cláudio Correa </small></span> <small><span class="title-sep sep" style="display:inline">|</span> Professor</small></span></small> <span class="email-sep break"><br></span> <small><span style="font-size:9.9pt"> <small><a href="mailto:[email protected]">[email protected]</a> | </small> <small>(35) 3729-9276</small></span></small></p> <p><span style="font-size: 8pt; font-family: Segoe, 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', Verdana, sans-serif; margin: 20px;"> <strong>Ciência da Computação - Prédio 1</strong></span><br> <span style="font-size: 8pt; font-family: Segoe, 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', Verdana, sans-serif; margin: 20px;">Av. Padre Francis Cletus Cox, 1661</span><br> </p></td></tr> </tbody> </table> </div> </div> </div> </body> </html> Aviso: Esta mensagem é destinada exclusivamente à(s) pessoa(s) a quem é dirigida e pode conter informação sigilosa e legalmente protegida. Caso não seja o destinatário, favor notificar o remetente. Ficam proibidas a utilização, divulgação, cópia e distribuição da mesma.

