34 int count()
const {
return _count; }
36 bool led(
int index)
const {
return _values[index] != 0; }
37 void setLed(
int index,
bool value) { _values[index] = (value ? 255 : 0); }
39 uint8_t
pwmLed(
int index)
const {
return _values[index]; }
40 void setPwmLed(
int index, uint8_t value) { _values[index] = value; }
42 unsigned long holdTime()
const {
return _holdTime; }
53 unsigned long _holdTime;
54 unsigned long _lastTime;