31#include <AW9364LedDriver.hpp>
51#define BACKLIGHT_PIN 2
69 tft.fillScreen(TFT_GREEN);
89 const uint8_t chip_address = XL9555_UNKNOWN_ADDRESS;
93 Serial.println(
"Failed to find XL9555 - check your wiring!");
105 Serial.print(
"level:");
106 Serial.println(
level);
constexpr uint8_t MAX_BRIGHTNESS_STEPS
Maximum brightness steps (0‑16).
Controls LED brightness by generating a specific number of pulses on a GPIO pin.
void setBrightness(uint8_t value)
Set the LED brightness level.
void begin(uint8_t pin)
Initialize the driver for use with a native Arduino pin.
bool begin(SensorCommCustom::CustomCallback callback, uint8_t addr)
Initialize the sensor using custom callback interface.
Concrete driver for the XL9555 16‑bit I2C GPIO expander.
AW9364LedDriver ledDriver
IoExpanderXL9555 expander