|
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_led.ino.
| #define SENSOR_SCL 18 |
Definition at line 14 of file aw9523_led.ino.
| #define SENSOR_SDA 17 |
Definition at line 10 of file aw9523_led.ino.
| void loop | ( | ) |
Definition at line 39 of file aw9523_led.ino.
References IoExpanderAW9523::analogWrite(), and expander.
| void setup | ( | ) |
Definition at line 23 of file aw9523_led.ino.
References IoExpanderAW9523::analogWrite(), I2CDeviceNoHal::begin(), expander, IoExpanderAW9523::QUARTER, SENSOR_SCL, SENSOR_SDA, IoExpanderAW9523::setLedCurrentRange(), and IoExpanderAW9523::setLedMode().
| IoExpanderAW9523 expander |
Definition at line 21 of file aw9523_led.ino.