nrf_smartled/
lib.rs

1//! Smartled drivers for the nrf52 family
2//!
3//! Currently offers an option using the PWM peripheral, and
4//! it is possible in the future to also support the use of the
5//! i2s peripheral
6
7#![no_std]
8
9#[cfg(feature = "52810")]
10use nrf52810_hal as hal;
11
12#[cfg(feature = "52832")]
13use nrf52832_hal as hal;
14
15#[cfg(feature = "52840")]
16use nrf52840_hal as hal;
17
18// pub mod i2s;
19pub mod pwm;
20
21pub use smart_leds_trait::RGB8;