Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Byte order incorrect for UC1701, PCD8544 and SSD1306 controllers. #3

Open
mp035 opened this issue Dec 18, 2019 · 0 comments
Open

Byte order incorrect for UC1701, PCD8544 and SSD1306 controllers. #3

mp035 opened this issue Dec 18, 2019 · 0 comments

Comments

@mp035
Copy link

mp035 commented Dec 18, 2019

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.

XYandZ added a commit to XYandZ/dotmatrixtool that referenced this issue Oct 12, 2022
Change byte order to work with UC1701, PCD8544 (Nokia 3310) and SSD1306 displays.

Implement changed from stefangordon#3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant