|
FastLED 3.10.8
|
Issue #2994 repro: compounded per-sequence timing drift vs 3.10.3.
Replays the reporter's minimal sketch as faithfully as possible:
Deliberate deviations from the sketch (documented for reviewers):
Invoked via the timingDriftTest JSON-RPC handler registered in AutoResearchRemote.cpp. NOTE: blocks ~2.5s per iteration.
Definition in file AutoResearchTimingDrift.h.
#include "FastLED.h"#include "fl/stl/int.h"#include "fl/stl/singleton.h"#include "LegacyClocklessProxy.h"#include <Arduino.h>
Include dependency graph for AutoResearchTimingDrift.h:Go to the source code of this file.
Classes | |
| struct | autoresearch::timing_drift::DriftResult |
| struct | autoresearch::timing_drift::MillisDelay |
| Faithful emulation of the millisDelay library used by the issue sketch: start(t) arms a deadline; justFinished() fires true exactly once when elapsed >= t; stop() disarms. More... | |
| struct | autoresearch::timing_drift::TimingDriftState |
Namespaces | |
| namespace | autoresearch |
| namespace | autoresearch::timing_drift |
Functions | |
| DriftResult | autoresearch::timing_drift::run (int pin, int num_leds, int iterations) |
| TimingDriftState & | autoresearch::timing_drift::timingDriftState () |
Variables | |
| constexpr int | autoresearch::timing_drift::kMaxIterations = 64 |
| constexpr int | autoresearch::timing_drift::kMaxLeds = 256 |
| struct autoresearch::timing_drift::DriftResult |
| Class Members | ||
|---|---|---|
| uint32_t | cpu_mhz | |
| uint32_t | iter_ms[kMaxIterations] | |
| int | iterations | |
| int | num_leds | |
| int | pin | |
| uint32_t | show_count | |
| uint32_t | show_max_us | |
| uint32_t | show_min_us | |
| uint64_t | show_total_us | |
| bool | valid_pin | |