magcat

command module
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2020 License: AGPL-3.0, MIT Imports: 16 Imported by: 0

README

This is an Adafruit MagTag project in two parts.

The github code handles talking to a web service (The Cat API), retrieving a random cat picture, scaling and dithering/quantizing it to greyscale for the MagTag, and then feeding the MagTag the image in a sort of super stupid bitmap format.

To use:

  1. Get an API token for The Cat API.
  2. Download a release
  3. Run it somewhere MagTag can access with -api-token=YOUR-TOKEN
  4. Edit magcat.py to update the URL (keep the /raw at the end!), save it and the contents of lib/ as code.py to a UF2-using MagTag

Questions/comments, open an issue.

MagCat

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL