Skip to content

yuuu/M5StampC3LED

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M5StampC3LED

M5Stamp C3 Mate LED library.

This library is a wrapper for driving to Adafruit NeoPixel on M5StampC3 Mate.

Usage

#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);
}

LICENSE

MIT