blinksy 0.11.0

no-std, no-alloc LED control library designed for 1D, 2D, and 3D layouts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! # Time Library
//!
//! Types to represent time are provided by the [`fugit`] crate:
//!
//! - [`Megahertz`]: For specifying clock rates in MHz
//! - [`Nanoseconds`]: For specifying timing durations in nanoseconds
//!
//! [`fugit`]: https://docs.rs/fugit

/// Represents a frequency in megahertz (MHz).
///
/// Used for specifying clock speeds for drivers and timing calculations.
pub use fugit::MegahertzU32 as Megahertz;

/// Represents a duration in nanoseconds.
///
/// Used for precise timing control in LED driver protocols and animations.
pub use fugit::NanosDurationU32 as Nanoseconds;