How do I use the COM port?

24 views
Skip to first unread message

Javier Enrique Charris Ojito

unread,
Feb 10, 2026, 9:07:36 PM (11 days ago) Feb 10
to The Ring Programming Language
Hello.

I'm new to this forum and to the Ring programming language. I need to establish communication between scales via serial port.

Thank you for your attention.

Mahmoud Fayed

unread,
Feb 10, 2026, 9:27:18 PM (11 days ago) Feb 10
to The Ring Programming Language
Hello

>> "I'm new to this forum and to the Ring programming language. I need to establish communication between scales via serial port."

Try this sample and see if it works for you:  ring/samples/UsingQt/SerialPort at master · ring-lang/ring

If it's not working, or you need different features, You can always extend Ring with C/C++ code

Documentation: 

Note: According to my tests, Tools like Claude Code (Opus 4.6) could help in writing Ring extensions, just write a good prompt and provide the documentation links in this topic. 

Greetings,
Mahmoud

Reply all
Reply to author
Forward
0 new messages