m5stack / M5Capsule

4 stars 2 forks source link

how to control the RGB LED #3

Open anthonywebb opened 8 months ago

anthonywebb commented 8 months ago

The demo that shipped with the M5capsule was controlling an RGB LED near the USB-C port. It's hard to read the sticker (is that G21?)

At any rate, I'd love to control that LED. Is the demo code that the device shipped with posted somewhere? I'd even be willing to contribute a simple example if someone could give me a hand.

jandahl commented 3 months ago

@anthonywebb check this out: https://github.com/m5stack/STAMP-S3/blob/main/examples/Led/Led.ino