rsiot/components/cmp_raspberrypi_gpio/mod.rs
//! Компонент для работы с GPIO Raspberry Pi
//!
//! Обертка над библиотекой [rppal](https://crates.io/crates/rppal)
//!
//! Запускать программу скорее всего нужно из-под sudo.
//!
//! [Распиновка](https://www.raspberrypi.com/documentation/computers/os.html#gpio-and-the-40-pin-header)
mod component;
mod config;
mod error;
mod fn_process;
#[cfg(test)]
mod test;
pub use component::Cmp;
pub use config::{Config, ConfigInput, ConfigOutput, PullMode};
pub use error::Error;
type Result<T> = std::result::Result<T, Error>;