M5Stamp C3 Mate LED library.
This library is a wrapper for driving to Adafruit NeoPixel on M5StampC3 Mate.
#include <M5StampC3LED.h>
M5StampC3LED led = M5StampC3LED();
void setup() {
Serial.begin(115200);
}
void loop() {
led.show(255, 0, 0);
delay(1000);
led.show(0, 255, 0);
delay(1000);
led.show(0, 0, 255);
delay(1000);
led.clear();
delay(1000);
}
MIT