FastLED
3.9.15
Loading...
Searching...
No Matches
◆
getDataPinFromChipset()
int fl::getDataPinFromChipset
(
const
ChipsetVariant
&
chipset
)
inline
Definition at line
6
of file
chipset_helpers.h
.
6
{
7
if
(
const
ClocklessChipset
* clockless = chipset.ptr<
ClocklessChipset
>()) {
8
return
clockless->pin;
9
}
else
if
(
const
SpiChipsetConfig* spi = chipset.ptr<SpiChipsetConfig>()) {
10
return
spi->dataPin;
11
}
12
return
-1;
13
}
fl::ClocklessChipset
Clockless chipset configuration (single data pin)
Definition
config.h:32
fl
Generated on Tue Jun 16 2026 00:07:04 for FastLED by
1.13.2