![]() |
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) |
| Set the output pin. | |
| void | setPinHigh (void) |
| Set the pin high. | |
| void | setPinLow (void) |
| Set the pin low. | |
| bool | isValid (void) const |
| 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.
