FastLED 3.9.15
Loading...
Searching...
No Matches

◆ set()

template<uint8_t PIN>
static void FastPin< PIN >::set ( FASTLED_REGISTER port_t val)
inlinestatic

Set the state of the output register.

Parameters
valthe state to set the output register to
Note
This function is not limited to the current pin! It modifies the entire register.

Definition at line 254 of file fastpin.h.

254{ *sPort = val; }
static volatile RwReg * sPort
Output register for the pin.
Definition fastpin.h:219
The simplest level of Pin class.
Definition fastpin.h:217