1use rppal::gpio::OutputPin;
2
3pub struct EncodedFrame<'a> {
4 pub pin: &'a mut OutputPin,
5 pub sender: [bool; 26],
6 pub interruptor: [bool; 4],
7 pub state: bool,
8}
9
10pub struct DecodedFrame {
11 pub pin: u8,
12 pub sender: u32,
13 pub interruptor: u32,
14 pub state: String,
15}