Skip to content

A golang module for providing various functions and utilities for the M5 Cardputer in TinyGo.

Notifications You must be signed in to change notification settings

sparques/cardputer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coverage Status Go ReportCard GoDoc

Cardputer

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.

Project Goals

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.

Progress

  • ☑️ 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

About

A golang module for providing various functions and utilities for the M5 Cardputer in TinyGo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages