Yes, you can definitely use the APA102 RGB LED on the TinyPICO in ESPHome.
Th code you need to set it up is:
power_supply:
id: rgb_led_power
pin:
number: GPIO13
inverted: true
light:
- platform: fastled_spi
id: rgb_led
chipset: APA102
data_pin: GPIO2
clock_pin: GPIO12
num_leds: 1
rgb_order: BGR
name: "RGB LED"
restore_mode: RESTORE_DEFAULT_OFF
power_supply: rgb_led_power
Which will give you the following results:
![](https://help.unexpectedmaker.com/wp-content/uploads/2024/01/Skarmavbild_2024-01-02_kl._15.28.09-795x1024.png)
![](https://help.unexpectedmaker.com/wp-content/uploads/2024/01/Skarmavbild_2024-01-02_kl._15.27.34.png)
Images & settings provided by Jonny Bergahl