|
SensorLib 0.5.1
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
|
#include <IoExpanderDrv.hpp>Go to the source code of this file.
Macros | |
| #define | SENSOR_SDA 17 |
| #define | SENSOR_SCL 18 |
Functions | |
| void | setup () |
| void | loop () |
Variables | |
| IoExpanderAW9523 | expander |
Definition in file aw9523_gpio.ino.
| #define SENSOR_SCL 18 |
Definition at line 14 of file aw9523_gpio.ino.
| #define SENSOR_SDA 17 |
Definition at line 10 of file aw9523_gpio.ino.
| void loop | ( | ) |
Definition at line 42 of file aw9523_gpio.ino.
References IoExpanderBase::digitalRead(), IoExpanderBase::digitalToggle(), and expander.
| void setup | ( | ) |
Definition at line 22 of file aw9523_gpio.ino.
References I2CDeviceNoHal::begin(), IoExpanderAW9523::enableInterrupt(), expander, IoExpanderBase::pinMode(), SENSOR_SCL, SENSOR_SDA, and IoExpanderAW9523::setPort0PushPull().
| IoExpanderAW9523 expander |
Definition at line 20 of file aw9523_gpio.ino.
Referenced by loop(), setup(), and testInit().