Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
]
}
],
"version": 4
}
12 changes: 7 additions & 5 deletions LED Episode 10/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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







.


10 changes: 7 additions & 3 deletions LED Episode 10/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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)
{
Expand Down