Stamp-Pico Arduino lib?
-
https://docs.m5stack.com/en/arduino/arduino_development mentions the new stamp-pico, but falls short of mentioning what library/header one uses in an Arduino Stamp sketch for it.
Would it use M5Atom.h?
Thanks! -
Hello @vkichline
interesting question. Looking at the schematics of M5Atom and M5Stamp it looks like they are mostly the same.
Same:- ESP32 PICO
- RGB LED - GPIO27
- Button - GPIO39
Different:
- Groove - GPIO32/26 (M5Atom) vs. GPIO33/32 (M5Stamp)
So, yes, I'd say using the M5Atom Arduino library should get you started.
Thanks
Felix -
The M5Stamp uses an ESP32 PICO D4 and so any library that supports the Pico D4 is usable.
You just need to make sure to define the pins correctly in your code.
StickC and Atom are both Pico D4 and should be ok but will have different pins defined. -
Felix; thanks for the tip in the Grove pinout; exactly where I was stuck after experimenting.