![]() |
Speeduino
|
A class for output pin operations. Must have same signature as fastOutputPin_t to allow for interchangeable use. More...
#include <outputPin.h>
Public Member Functions | |
| void | setPin (uint8_t pin, uint8_t mode=OUTPUT) noexcept |
| Set the output pin. | |
| void | setPinHigh (void) noexcept |
| Set the pin high. | |
| void | setPinLow (void) noexcept |
| Set the pin low. | |
| bool | isValid (void) const noexcept |
| Is the pin set? | |
A class for output pin operations. Must have same signature as fastOutputPin_t to allow for interchangeable use.
Call setPin() to initialize the pin, then call setPinHigh() to set the pin high.
Is the pin set?

Set the output pin.


Set the pin high.


Set the pin low.

