Skip to content

Instantly share code, notes, and snippets.

/*
Arduboy 128x64 grayscale proof of concept
Inspired by Thumby method of setting mux ratio to 1 to sync frames:
https://github.com/Timendus/thumby-grayscale
Relevant Arduboy forum discussion:
https://community.arduboy.com/t/greyscale-for-arduboy/3032/40
Thanks to @dxb for extremely helpful discussion and hints:
https://gist.github.com/dxxb/989ae92ab8e7637c22a639ef98c8f9e6
/*
* Technique based on <https://github.com/Timendus/thumby-grayscale/blob/main/lib/thumbyGrayscale.py>
* Implementation derived from <https://gist.github.com/tiberiusbrown/6da1a02d06f263efb796103154e6b0f6>
*
*/
/*
The technique used by the Thumby to achieve grayscale on SSD1306 without FR pin is based on