1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00
This commit is contained in:
norbert-walter
2024-04-29 20:53:57 +02:00
parent 40ef81c269
commit 69c2d1579f
2 changed files with 8 additions and 8 deletions

View File

@@ -153,12 +153,12 @@ void setFlashLED(bool status){
else{
fled[0] = CRGB::Black; // Flash LED off
}
FastLED.show();
FastLED.show();
}
void blinkingFlashLED(){
if(blinkingLED == true){
statusLED = !statusLED;
statusLED = !statusLED; // Toggle LED for each run
FastLED.setBrightness(255); // Brightness for flash LED
if(statusLED == true){
fled[0] = CRGB::Red; // Flash LED on in red
@@ -170,8 +170,8 @@ void blinkingFlashLED(){
}
}
void setBlinkingLED(bool on){
blinkingLED = on;
void setBlinkingLED(bool status){
blinkingLED = status;
}
uint buzzerpower = 50;