3 unstable releases
0.7.1 | Mar 4, 2024 |
---|---|
0.7.0 | Mar 2, 2024 |
0.6.0 | Mar 3, 2021 |
#1257 in Hardware support
146 downloads per month
Used in 2 crates
110KB
1.5K
SLoC
flipdot-serial
Tools for communicating with Luminator signs over serial.
For the basic task of sign communication, you likely want to use the high-level API
in the flipdot
crate instead.
However, you can use the configure_port
function to configure serial port appropriately
if you're doing custom lower-level communication.
Intended only for hobbyist and educational purposes. Not affiliated with Luminator in any way.
Usage
use std::time::Duration;
let mut port = serial::open("COM3")?;
flipdot_serial::configure_port(&mut port, Duration::from_secs(5))?;
// Now ready for communication with a sign (8N1 19200 baud).
License
Distributed under the MIT license.
lib.rs
:
Tools for communicating with Luminator signs over serial.
For the basic task of sign communication, you likely want to use the high-level API
in the flipdot
crate instead.
However, you can use the configure_port
function to configure serial port appropriately
if you're doing custom lower-level communication.
Intended only for hobbyist and educational purposes. Not affiliated with Luminator in any way.
Examples
use std::time::Duration;
#
let mut port = serial::open("COM3")?;
flipdot_serial::configure_port(&mut port, Duration::from_secs(5))?;
// Now ready for communication with a sign (8N1 19200 baud).
#
Dependencies
~2.7–4.5MB
~77K SLoC