Crates.io | flipdot-serial |
lib.rs | flipdot-serial |
version | 0.7.1 |
source | src |
created_at | 2021-03-03 02:44:05.580726 |
updated_at | 2024-03-04 03:07:52.792719 |
description | Tools for communicating with Luminator signs over serial |
homepage | |
repository | https://github.com/alusch/flipdot |
max_upload_size | |
id | 362952 |
size | 9,545 |
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.
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).
Distributed under the MIT license.