Using external libraries with PlatformIO and Arduino
Channel: Uwe Zimmermann
Date: 2022-04-18

One of the few comments under aprevious video asked for an explanation on how to use an external library in an Arduino-project under PlatformIO. Here I show the example of the FastLED library to control neopixel LED-chips.

This video is unsponsored and not monetized, as usual.

00:35 looking at the circuit boards
01:10 the layout in KiCAD
02:40 soldering connection pins
04:00 connecting the board to an Arduino
04:35 creating a new project in PlatformIO
06:00 picking a library within PlatformIO
10:18 success: a blinking LED

circuit boards made by https://www.pcbgogo.com/
- 1.0 mm thick
- green solder mask, white silkscreen
- lead-free HASL
- castellated edge-contacts

other tools used:
TS-100 solder iron
Felder Iso-Core Clean Sn100Ni+ solder wire 0.5 mm
Arduino nano (clone), ATmega328 16 MHz, 5V

Software used:
KiCAD PCB layout https://www.kicad.org/
QCAD general 2D design https://www.qcad.org/en/
VS Code https://code.visualstudio.com/
PlatformIO plugin https://platformio.org/
FastLED http://fastled.io