return callback handler
This commit is contained in:
parent
5f6e586945
commit
724f8f42e9
8 changed files with 20 additions and 15 deletions
|
@ -48,7 +48,7 @@ public:
|
|||
// 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
|
||||
void registerChangeCallback(std::function<void(uint8_t, bool, uint16_t)> callback);
|
||||
uint8_t registerChangeCallback(std::function<void(uint8_t, bool, uint16_t)> callback);
|
||||
// Deregister the callback function
|
||||
void deregisterChangeCallback(uint8_t handler);
|
||||
// Load a new pin map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue