dotmatrixtool icon indicating copy to clipboard operation
dotmatrixtool copied to clipboard

Byte order incorrect for UC1701, PCD8544 and SSD1306 controllers.

Open mp035 opened this issue 5 years ago • 0 comments

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.

mp035 avatar Dec 18 '19 08:12 mp035