#include <Loom_Digital.h>
|
| template<typename T , typename... Args> |
| | Loom_Digital (Manager &man, T firstPin, Args... additionalPins) |
| |
| template<typename T > |
| | Loom_Digital (Manager &man, T firstPin) |
| |
| void | measure () override |
| |
| void | package () override |
| |
|
| Module (const char *modName) |
| |
|
void | setModuleName (const char *modName) |
| |
|
virtual const char * | getModuleName () |
| |
|
virtual void | printModuleName (const char *message) |
| |
| virtual void | initialize ()=0 |
| |
|
virtual void | measure ()=0 |
| |
| virtual void | package ()=0 |
| |
| virtual void | power_up ()=0 |
| |
| virtual void | power_down ()=0 |
| |
|
virtual void | display_data () |
| |
|
|
bool | moduleInitialized = true |
| |
|
int | module_address = -1 |
| |
Used to read Analog voltages from the analog pins on the feather M0
- Author
- Will Richards
◆ Loom_Digital() [1/2]
template<typename T , typename... Args>
| Loom_Digital::Loom_Digital |
( |
Manager & |
man, |
|
|
T |
firstPin, |
|
|
Args... |
additionalPins |
|
) |
| |
|
inline |
Templated constructor that uses more than 1 digital pin
- Parameters
-
| man | Reference to the manager |
| firstPin | First digital pin we want to read from |
| additionalPins | Variable length argument allowing you to supply multiple pins |
◆ Loom_Digital() [2/2]
template<typename T >
| Loom_Digital::Loom_Digital |
( |
Manager & |
man, |
|
|
T |
firstPin |
|
) |
| |
|
inline |
Templated constructor that uses only 1 digital pin
- Parameters
-
| man | Reference to the manager |
| firstPin | First digital pin we want to read from |
◆ initialize()
| void Loom_Digital::initialize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ measure()
| void Loom_Digital::measure |
( |
| ) |
|
|
overridevirtual |
◆ package()
| void Loom_Digital::package |
( |
| ) |
|
|
overridevirtual |
◆ power_down()
| void Loom_Digital::power_down |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ power_up()
| void Loom_Digital::power_up |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following files:
- C:/Users/jwilt/AppData/Local/Arduino15/packages/loom4/hardware/samd/4.5/libraries/Loom/src/Sensors/Loom_Digital/Loom_Digital.h
- C:/Users/jwilt/AppData/Local/Arduino15/packages/loom4/hardware/samd/4.5/libraries/Loom/src/Sensors/Loom_Digital/Loom_Digital.cpp