dotmatrixtool
dotmatrixtool copied to clipboard
Byte order incorrect for UC1701, PCD8544 and SSD1306 controllers.
Hi, Great job on this tool. Thank you for providing it. Unfortunately the byte order is incorrect for every graphic LCD I have ever used. I got the correct byte order by changing line 99 in app.js to the following:
buffer[ (y % 8) + (Math.floor(y / 8) * 8 * width) + (x * 8) ] = temp
and using column major.
This mapping is used on UC1701, PCD8544 (nokia 3310) and SSD1306.