16#if !defined(__IMXRT1062__)
17#include "platforms/sketch_fake.hpp"
35void wait_for_serial(uint32_t timeout = 3000) {
40void print_startup_info() {
41 Serial.println(
"\n*********************************************");
42 Serial.println(
"* TeensyMassiveParallel - BulkClockless *");
43 Serial.println(
"*********************************************");
44 FL_DBG(
"CPU speed: " << (F_CPU_ACTUAL / 1000000) <<
" MHz Temp: " << tempmonGetTemp()
45 <<
" C " << (tempmonGetTemp() * 9.0 / 5.0 + 32) <<
" F");
46 Serial.print(
"Number of strips: 3\n");
47 Serial.print(
"LEDs per strip: ");
49 Serial.print(
"Total LEDs: ");
55 wait_for_serial(3000);
59 auto& bulk =
FastLED.addBulkLeds<WS2812B, OFLED>({
88void blink_all(
fl::CRGB color,
int times,
int delay_ms = 250) {
89 for (
int i = 0; i < times; ++i) {
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
@ TypicalSMD5050
Typical values for SMD5050 LEDs.
@ UncorrectedColor
Uncorrected color (0xFFFFFF)
Centralized logging categories for FastLED hardware interfaces and subsystems.
fl::u32 millis()
Universal millisecond timer - returns milliseconds since system startup.
void delay(u32 ms, bool run_async=true) FL_NOEXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
@ Green
<div style='background:#008000;width:4em;height:4em;'></div>
@ Red
<div style='background:#FF0000;width:4em;height:4em;'></div>
@ Blue
<div style='background:#0000FF;width:4em;height:4em;'></div>
@ White
<div style='background:#FFFFFF;width:4em;height:4em;'></div>
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>
Representation of an 8-bit RGB pixel (Red, Green, Blue)