Author Topic: Generic mono GLCD library  (Read 2952 times)

0 Members and 1 Guest are viewing this topic.

Offline HarvsTopic starter

  • Super Contributor
  • ***
  • Posts: 1210
  • Country: au
Generic mono GLCD library
« on: July 01, 2017, 11:01:16 pm »
I'm currently interfacing a 128x64 mono LCD to a new micro (ESP32 in this case.)

Does anyone know of a good generic library in C to do all the basic graphic stuff (sprites, fonts, lines, rectangles etc...)

I was thinking if there was a library that could do the graphics stuff into a RAM buffer, then I just dump that out to the display when I've finished an update (DMA and 20MHz SPI makes this an almost zero overhead operation.)

I'm looking for a generic approach that I could re-use on various projects (only with 32bit MCUs with plenty of RAM) with different mono displays of varying resolution.

Thanks
 

Offline Nusa

  • Super Contributor
  • ***
  • Posts: 2454
  • Country: us
 

Offline HarvsTopic starter

  • Super Contributor
  • ***
  • Posts: 1210
  • Country: au
Re: Generic mono GLCD library
« Reply #2 on: July 01, 2017, 11:45:25 pm »
https://www.google.com/search?q=esp32+graphics+library

Yes I can use google and find a myriad of often half baked libraries tied to platforms and specific LCDs...

But...

Quote
I'm looking for a generic approach

Yes I could spend the time to deconstruct someones Arduino library or write my own, and maybe I will.

However, if someone actually has a recommendation for a good quality library that meets a generic mcu and display independant approach I'm all for it (I'm thinking like Chan's FATFS library.)
 

Offline JanJansen

  • Frequent Contributor
  • **
  • Posts: 380
  • Country: nl
Re: Generic mono GLCD library
« Reply #3 on: July 02, 2017, 03:44:16 pm »
aliexpress parachute
 
The following users thanked this post: Harvs

Offline macboy

  • Super Contributor
  • ***
  • Posts: 2412
  • Country: ca
Re: Generic mono GLCD library
« Reply #4 on: July 09, 2017, 01:14:24 pm »
u8g2 might be interesting to you. It is designed to be lightweight enough for 8 bitters but works just as well on 16 and 32b also.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->