Closed simonspa closed 7 months ago
This makes a few changes to the switch classes:
Switch
Type
Mode
IOSwitch
GPIOPin
This simplifies the overall code, encapsulates GPIO pins where they belong and removes global pointer objects.
(cc) @fiendie
This makes a few changes to the switch classes:
Switch
now holds its ownType
andMode
IOSwitch
now holds its privateGPIOPin
and also constructs itThis simplifies the overall code, encapsulates GPIO pins where they belong and removes global pointer objects.