-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better examples #8
Comments
Sorry, I did not mean to close this issue. I'm currently at sea with very limited bandwidth (both time and internet). I'll check back in mid-may once back on shore. |
Thanks for responding -- I'd deleted my question once I figured it out. I'll be using this library though, and as a relative beginner I'm happy to help out if you want. Enjoy your time (semi?) off the grid! ⛵️ |
@berkowski Smooth sailing! 🌊⛵ |
Hello, I'm trying to use mio-serial but I've been having many errors every time I run the code. Would you be able to give a description of some of the main commands? such as 'use'.I have never seen it before. I apologize if this is a dumb request as I just starting with C language |
@juanctorresm If you're just starting out using C and you want to use a serialport it will depend on whether you're using Windows or some *nix flavor (linux/BSD/OSX). For linux there is http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/, I don't have much experience with windows serial port programming myself. |
Thank you for the fast response! Oh! I thought this was a library for C, rookie mistake. I'm actually trying to look for a cross-platform library that can be used in both Windows and MAC. Is it possible that you have any idea if that exists? I haven't been able to find it. Thank you very much! I honestly appreciate it a lot |
A cross-platform C library for serial ports might be tough to find. GTK might have something... I know it's written in C and can work on both Windows an Linux, but I have no idea if it exposes serial ports. If you're willing to work in C++ you could use the Boost library framework. |
Thank you very much! You were very helpful! |
I've been thinking about using
mio-serial
in a project but I'm a bit confused about the scope of this crate and how to properly used it.Generally it looks a bit awkward to use 😕 so maybe that could be improved.
(Although I would be wondering if you're interested in talking about API design and the scope of what the library should do 😜)
The text was updated successfully, but these errors were encountered: