Comments (8)
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.
from mio-serial.
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! ⛵️
from mio-serial.
@berkowski Smooth sailing! 🌊⛵
from mio-serial.
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
from mio-serial.
@juanctorresm
This is a library for the rust language, not C. If you are looking to use rust with serialports, a good place to start is serialport-rs which offers an easier blocking method of accessing serial ports.
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.
from mio-serial.
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
from mio-serial.
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.
from mio-serial.
Thank you very much! You were very helpful!
from mio-serial.
Related Issues (20)
- mio-serial v3.0.0 not compatible with serialport v3.1.0 HOT 3
- Update to serialport-rs 3.1 HOT 1
- Bump nix to 0.14 HOT 2
- libudev problems HOT 3
- Windows support HOT 1
- Windows try_clone returns incorrect trait HOT 1
- mio 0.7 support HOT 10
- Push for v4.0 before Ownership Transfer or Maintenence HOT 3
- Missing 4.0.0-beta1 tag HOT 9
- mio-serial-4.0.0-beta3 fails to compile due to StdIoErrorKind::Unsupported HOT 4
- Can't compile as dependency to another project HOT 5
- How to modify device parameters or stop the device during data reading?
- cann't open serial again HOT 1
- nix 0.26 can't work on ubuntu16.04
- how to control RTS and DTR? HOT 1
- Invalid stop bits setting encountered HOT 3
- Add a repo description
- How close is `Source` to a `Stream<..some bytes type..>`?
- Are there more read/write examples or better docs available? HOT 2
- What's wrong with tokio::fs?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mio-serial.