Repository navigation
v4.0.0 Initial refactored library release
-
General aspects:
- Library refactoring complete, now includes multiplatform basic structured code.
- Renamed to ButtonToSwitch to unify names given in different development platforms to wich it'll be ported.
- Temporary logo included for ease of identification through some new GitHub tools and options.
-
Additions:
- Added SnglSrvcVdblMPBttn class
- Added methods:
- HntdTmLtchd class
- Required methods to execute a dedicated function when entering and exiting Pilot On states.
- Required methods to execute a dedicated function when entering and exiting Warning On states.
- TmVdblMPBttn and SnglSrvcVdblMPBttn classes:
- Required methods to execute a dedicated function when entering and exiting isVoided states.
- HntdTmLtchd class
-
Several application examples were added and a basic explanation of what each one does and resources used was added to every one.
- DbncdDlydMPBttn class use examples added
- TgglLtchMPBttn class use examples added
- TmLtchMPBttn class use examples added
- XtrnUnltchMPBttn class use examples added
- TmVdblMPBttn class use examples added
- SnglSrvcVdblMPBttn class use examples added
-
Debugging:
- _otptsSttsPkg(uint32_t) method corrected for dynamic polymorphic use (each DbncdMPBttn subclasses generates the uint32_t message based on subclass relevant attribute flags)
- Refactoring failed cleanup made possible to keep the On State of a SnglSrvcVdblMPBttn if a disable signal was received before the object entered the Voided State.
- HntdTmLtchMPBttn::_otptsSttsPkg(uint32_t prevVal) method corrected for the _wrnngOn attribute flag bit setting