![]() |
eBoard
①⑧⑨
Written for SIA 2017/2018
|
this file contains cool stuff... it controls pins More...
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | writePWM (optVAL_t val) |
| write a clamped pwm value to an output pin More... | |
| void | writePin (optVAL_t idx, bool val) |
| write a boolean state to an output pin More... | |
| optVAL_t | readPin (optVAL_t idx, bool dig=true) |
| read a digital state from an INPUTpin More... | |
Variables | |
| optVAL_t | _pwmValue = 0x0 |
| optVAL_t | _OpwmValue = 0x0 |
this file contains cool stuff... it controls pins
Last Updated:
Definition in file eagle_PinCtrl.h.
read a digital state from an INPUTpin
| idx | the index of the pin to use |
| dig | determines if the value should be from the digital or the analog pins |
|
inline |
write a boolean state to an output pin
| idx | the index of the pin to use |
| val | the state the pin should have |
|
inline |
write a clamped pwm value to an output pin
| val | the pwm value [0-255] to use |
| optVAL_t _OpwmValue = 0x0 |
Definition at line 21 of file eagle_PinCtrl.h.
| optVAL_t _pwmValue = 0x0 |
Definition at line 21 of file eagle_PinCtrl.h.