5 LedState on( LedState::on );
6 LedState off( LedState::off );
7 LedState flashing( LedState::flashing );
8 LedState none( LedState::none );
10 std::ostream & operator << ( std::ostream & os, const ControlState & cs )
12 os << "ControlState { ";
13 os << "pos: " << cs.pos;
15 os << "sign: " << cs.sign;
17 os << "delta: " << cs.delta;
19 os << "ticks: " << cs.ticks;
21 os << "led_state: " << cs.led_state.state();
23 os << "button_state: " << cs.button_state;