allow input preload and state toggling
This commit is contained in:
parent
b778fb6a02
commit
4ea2122f6e
5 changed files with 26 additions and 1 deletions
|
@ -58,6 +58,8 @@ public:
|
|||
void setValue(uint8_t pin, uint16_t value);
|
||||
// Get the state of the specified pin
|
||||
bool getState(uint8_t pin);
|
||||
// Toggle the state of the specified pin
|
||||
void toggleState(uint8_t pin);
|
||||
// Get the pwm value of the specified pin
|
||||
uint16_t getValue(uint8_t pin);
|
||||
// Register a callback function that will be called when the state of a pin changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue