A TinyGo package for working with the hardware on the M5 Cardputer.
This should work with the ESP32 / Stamp S3 board as well as the RP2040-based board.
I want to be able to use everything the cardputer has to offer, including the i2s microphone and amplifier/speaker. The best way to do this is probably figuring out how to get PIO to work under TinyGo (it's possible, per several TinyGo issue discussions) and use the i2s PIO programs from here.
Much of the hardware on the cardputer already has drivers. The display and the SD card both already have drivers.
Some of the simple "peripherals" just need some convenience wrappers, such as sensing the battery level.
I intend to use my IR package for sending IR signals. I may add an IR receiver via the grove port for receiving signals.
- ☑️ Pin definitions
- ☑️ IR LED
- ☑️ Keypad driver
- 🔄 Screen (just a thin wrapper around the existing st7789 driver)
- 🔄 SD Card (pins are initialized, but still working on filesystem support)
- ☑️ I2S support (Using experimental PIO + piolib I2S implementation)
- ☑️ Battery Level