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;

View File

@ -5,10 +5,10 @@
default_envs = obp60_s3
[env:obp60_s3]
platform = espressif32@6.3.2
#board = obp60_s3_n8 #8MB flash, no PSRAM
#board = obp60_s3_n16 #16MB flash, no PSRAM, zero series
#board = obp60_s3_n8r8 #8MB flash, 8MB PSRAM
board = obp60_s3_n16r8 #16MB flash, 8MB PSRAM, production series
#board = obp60_s3_n8 #ESP32-S3, 8MB flash, no PSRAM
#board = obp60_s3_n16 #ESP32-S3,16MB flash, no PSRAM, zero series
#board = obp60_s3_n8r8 #ESP32-S3, 8MB flash, 8MB PSRAM
board = obp60_s3_n16r8 #ESP32-S3, 16MB flash, 8MB PSRAM, production series
board_build.variants_dir = variants
framework = arduino
lib_deps =