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/platformio.ini b/LED Episode 10/platformio.ini index a57260e..8007fc5 100644 --- a/LED Episode 10/platformio.ini +++ b/LED Episode 10/platformio.ini @@ -8,20 +8,22 @@ ; Please visit documentation for the other options and examples ; https://docs.platformio.org/page/projectconf.html -[env:heltec_wifi_kit_32] +[env:heltec_wifi_kit_32_V3] platform = espressif32 -board = heltec_wifi_kit_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 - - + + + +. 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) {