mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-13 05:53:06 +01:00
Flash LED and backlight LEDs working including blinking
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <Arduino.h>
|
||||
#include "OBP60Hardware.h"
|
||||
#include <MCP23017.h>
|
||||
#include <FastLED.h> // Driver for WS2812 RGB LED
|
||||
#include <GxGDEW042T2/GxGDEW042T2.h> // 4.2" Waveshare S/W 300 x 400 pixel
|
||||
#include <GxIO/GxIO_SPI/GxIO_SPI.h> // GxEPD lip for SPI display communikation
|
||||
#include <GxIO/GxIO.h> // GxEPD lip for SPI
|
||||
@@ -30,6 +31,8 @@ void setPortPin(uint pin, bool value); // Set port pin for extension po
|
||||
|
||||
void togglePortPin(uint pin); // Toggle extension port pin
|
||||
|
||||
void toggleBacklightLED(); // Toggle backlight LEDs
|
||||
|
||||
void setFlashLED(bool status); // Set flash LED
|
||||
void blinkingFlashLED(); // Blinking function for flash LED
|
||||
void setBlinkingLED(bool on); // Set blinking flash LED active
|
||||
|
||||
Reference in New Issue
Block a user