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

How to add further display driver in c? #1778

Closed
MaBecker opened this issue Mar 15, 2020 · 1 comment
Closed

How to add further display driver in c? #1778

MaBecker opened this issue Mar 15, 2020 · 1 comment
Labels

Comments

@MaBecker
Copy link
Contributor

I am very impressed about speed of screen updates on Bangle.js - great work!

Just tried a ili9341 via spi with javascript which is extremely slow.

As JumJum is working on his EFEU platform it could very easy for all to include selectively drivers.

This is how I would start:

  • choose a c implementation for ili9341
  • pull it into .h and .c file
  • add ifdefs
  • integrate into graphics?

What else is needed to get it working?

@gfwilliams
Copy link
Member

Yes, that sounds about right. Worth noting that the ST7789 SPI driver is already in there and will be amazingly similar to the ili9341 (apart from maybe some initialisation info) so it might be worth either using that as a base or ideally just changing it to spilcd.c and IFDEFing the relevant bits.

Also Bangle.js's LCD is fast because it's parallel 8 bit. ili9341 will be noticeably faster in C obviously, but it's not going to be as good as Bangle.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants