FastLED 3.10.6
Loading...
Searching...
No Matches

◆ NS

#define NS ( _NS)
Value:
(((_NS * F_CPU_MHZ) + 999) / 1000)
#define F_CPU_MHZ
CPU speed, in megahertz (MHz) - compile-time constant Uses FL_CPU_FREQUENCY() from platforms/cpu_freq...

Convert from nanoseconds to number of clock cycles.

Definition at line 95 of file fastled_delay.h.

Referenced by fl::delayNanoseconds().