From 9add2d739231ede184b94a61b741a0937fc7a4cb Mon Sep 17 00:00:00 2001 From: Todtheexplorer Date: Sun, 26 Oct 2025 11:28:41 -0400 Subject: [PATCH 1/4] Update platformio.ini to configure environment for Heltec WiFi LoRa 32 --- LED Episode 10/platformio.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LED Episode 10/platformio.ini b/LED Episode 10/platformio.ini index a57260e..d27cdf2 100644 --- a/LED Episode 10/platformio.ini +++ b/LED Episode 10/platformio.ini @@ -8,9 +8,9 @@ ; Please visit documentation for the other options and examples ; https://docs.platformio.org/page/projectconf.html -[env:heltec_wifi_kit_32] +[env:heltec_wifi_lora_32] platform = espressif32 -board = heltec_wifi_kit_32 +board = heltec_wifi_lora_32 framework = arduino build_flags = -Wno-unused-variable upload_port = /dev/cu.SLAB_USBtoUART From 90cad08a6ab9cb13b397b6e3147e58c4af518100 Mon Sep 17 00:00:00 2001 From: Todtheexplorer Date: Mon, 27 Oct 2025 12:17:32 -0400 Subject: [PATCH 2/4] Update platformio.ini for Heltec WiFi Kit 32 V3 configuration --- LED Episode 10/platformio.ini | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/LED Episode 10/platformio.ini b/LED Episode 10/platformio.ini index d27cdf2..9105a4e 100644 --- a/LED Episode 10/platformio.ini +++ b/LED Episode 10/platformio.ini @@ -8,19 +8,21 @@ ; Please visit documentation for the other options and examples ; https://docs.platformio.org/page/projectconf.html -[env:heltec_wifi_lora_32] +[env:heltec_wifi_kit_32_V3] platform = espressif32 -board = heltec_wifi_lora_32 +board = heltec_wifi_kit_32_V3 framework = arduino build_flags = -Wno-unused-variable upload_port = /dev/cu.SLAB_USBtoUART monitor_port = /dev/cu.SLAB_USBtoUART monitor_speed = 115200 - +upload_port = COM6 lib_deps = U8g2 FastLED - + + + From 21500b238380398c495dfb86aad5f34f0c7337b7 Mon Sep 17 00:00:00 2001 From: Todtheexplorer Date: Mon, 27 Oct 2025 14:04:35 -0400 Subject: [PATCH 3/4] Update platformio.ini --- LED Episode 10/platformio.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LED Episode 10/platformio.ini b/LED Episode 10/platformio.ini index 9105a4e..8007fc5 100644 --- a/LED Episode 10/platformio.ini +++ b/LED Episode 10/platformio.ini @@ -16,7 +16,7 @@ build_flags = -Wno-unused-variable upload_port = /dev/cu.SLAB_USBtoUART monitor_port = /dev/cu.SLAB_USBtoUART monitor_speed = 115200 -upload_port = COM6 +; upload_port = COM6 lib_deps = U8g2 FastLED @@ -24,6 +24,6 @@ lib_deps = U8g2 - +. From 5f757486db3313077340bdcad68095d761b828b1 Mon Sep 17 00:00:00 2001 From: Todtheexplorer Date: Tue, 28 Oct 2025 08:39:12 -0400 Subject: [PATCH 4/4] Add initial c_cpp_properties.json configuration for VSCode --- .vscode/c_cpp_properties.json | 16 ++++++++++++++++ LED Episode 10/src/main.cpp | 10 +++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 .vscode/c_cpp_properties.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..b1f27e8 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,16 @@ +{ + "configurations": [ + { + "name": "Win32", + "includePath": [ + "${workspaceFolder}/**" + ], + "defines": [ + "_DEBUG", + "UNICODE", + "_UNICODE" + ] + } + ], + "version": 4 +} \ No newline at end of file diff --git a/LED Episode 10/src/main.cpp b/LED Episode 10/src/main.cpp index 0bc48cc..7b1e6de 100644 --- a/LED Episode 10/src/main.cpp +++ b/LED Episode 10/src/main.cpp @@ -6,6 +6,10 @@ // // Description: // +// +//C:\Users\todth\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\firmwares\wifishield\wifi_dnld\src\SOFTWARE_FRAMEWORK\BOARDS\ARDUINO +// +// // Draws sample effects on a an addressable strip using FastLED // // History: Sep-15-2020 davepl Created @@ -23,7 +27,7 @@ #define OLED_DATA 4 #define OLED_RESET 16 -#define NUM_LEDS 40 // FastLED definitions +#define NUM_LEDS 144 // FastLED definitions #define LED_PIN 5 CRGB g_LEDs[NUM_LEDS] = {0}; // Frame buffer for FastLED @@ -77,13 +81,13 @@ void loop() { bool bLED = 0; - //ClassicFireEffect fire(NUM_LEDS, 30, 100, 3, 2, false, true); // Outwards from Middle + ClassicFireEffect fire(NUM_LEDS, 30, 100, 3, 2, false, true); // Outwards from Middle //ClassicFireEffect fire(NUM_LEDS, 30, 100, 3, 2, true, true); // Inwards toward Middle //ClassicFireEffect fire(NUM_LEDS, 20, 100, 3, 4, true, false); // Outwards from Zero //ClassicFireEffect fire(NUM_LEDS, 20, 100, 3, 4, false, false); // Inwards from End //ClassicFireEffect fire(NUM_LEDS, 50, 300, 30, 12, true, false); // More Intense, Extra Sparking - ClassicFireEffect fire(NUM_LEDS, 20, 100, 3, NUM_LEDS, true, false); // Fan with correct rotation + //ClassicFireEffect fire(NUM_LEDS, 20, 100, 3, NUM_LEDS, true, false); // Fan with correct rotation while (true) {