@Alex_superdude First, make sure you are using the latest version of FastLED (3.1.8). Then, you have to manually modify the file fastpin_arm_d21.h as follows :
(you can find this file by searching for it, mine is in C:\Users\Franck\Documents\Arduino\libraries\FastLED-3.1.8\platforms\arm\d21)
Search the file for this keyword : ADAFRUIT_TRINKET_M0
Update the code with the following :
#elif defined(ADAFRUIT_TRINKET_M0)
#define MAX_PIN 7
_DEFPIN_ARM( 0, 0, 8); _DEFPIN_ARM( 1, 0, 2); _DEFPIN_ARM( 2, 0, 9);
_DEFPIN_ARM( 3, 0, 7); _DEFPIN_ARM( 4, 0, 6); _DEFPIN_ARM( 7, 0, 0); _DEFPIN_ARM( 8, 0, 1);
#define SPI_DATA 4
#define SPI_CLOCK 3
#define HAS_HARDWARE_PIN_SUPPORT 1
#endif
Then, to use the DotStar led, use this code :
//declare this globally
CRGB M0DotStar[1] = {CRGB::Yellow};
//declare this in setup()
FastLED.addLeds<APA102, 7, 8>(M0DotStar, 1);
Et voila!