New: support switch-type
Handles switches with switching function:
- normally open (default)
- normally closed
Examples updated:
- using callback functions
- using inheritance
API is backwards compatible
-- Mario
Handles switches with switching function:
Examples updated:
API is backwards compatible
-- Mario