Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 471 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 471 Bytes

pyboard-examples

Example code of simple PyBoard projects

To generate 4bpp frame files from gif animation with ImageMagick:

convert -coalesce anim.gif -depth 4 -alpha off -colors 16 -compress NONE -colorspace Gray -resize 256 -crop 256x64+0+32 -trim +repage anim_%05d.gray

To convert image format (that is supported by PyGame package) into 1bpp format for SSD1306 display:

python3 tools/convert_to_ssd1306.py original.png converted.bin