1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
crate::endpoints! { command: Setpoint<Command>; } /// A per-LED on/off command. #[derive( phoxal_macros::DescribeWire, Copy, Eq, Clone, Debug, PartialEq, serde::Serialize, serde::Deserialize, )] pub enum Command { On, Off, }