Skip to content

sparques/cardputer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coverage Status Go ReportCard GoDoc

Cardputer

A TinyGo package for working with the hardware on the M5 Cardputer.

This package targets the ESP32-S3 based Cardputer family hardware.

Build with make build for the original Cardputer, or make build BOARD=cardputer-adv for the Cardputer-Adv. The checked-in Makefile forces TinyGo 0.37 to use Go 1.24.6, because TinyGo currently rejects the system go1.26.x toolchain.

The original Cardputer remains the default build. Cardputer-Adv support currently shares the common peripherals and board pin map, but still needs board-specific keypad and audio drivers on top of the new build-tag split.

Project Goals

I want to be able to use everything the cardputer has to offer, including the microphone and amplifier/speaker.

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)
  • 🔄 Audio support
  • ☑️ 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

 
 
 

Contributors