This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <FastLED.h> | |
| #define NUM_LEDS 60 | |
| #define LED_PIN 2 | |
| struct LEDState { | |
| CRGB* leds; | |
| int count; | |
| CHSV baseColor; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import csv | |
| import math | |
| def safe_float(x): | |
| try: | |
| return float(x) | |
| except (ValueError, TypeError): | |
| return None | |
| def safe_div(x, y): |
OlderNewer