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

Udisplay #11665

Merged
merged 4 commits into from
Apr 11, 2021
Merged

Udisplay #11665

merged 4 commits into from
Apr 11, 2021

Conversation

gemu2015
Copy link
Contributor

Description:

universal display driver for most pixel driven displays initial commit

currently 2 sample descriptors for SH1106 and ILI9341

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works on Tasmota core ESP8266 V.2.7.4.9
  • The code change is tested and works with core ESP32 V.1.0.6
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@arendst
Copy link
Owner

arendst commented Apr 11, 2021

What does this do without scripter enabled?

To allow user control over enablement I suggest to use GPIO Option A3. This way the driver should be able to co-exist within the current display arena without taking over any previous or following driver.

@gemu2015
Copy link
Contributor Author

if descriptor is not found within scripter (section >d),
next the descriptor is checked in filesystem ("dspdesc.txt")
and last a flash based descriptor may be loaded.

@arendst arendst merged commit 1fdcb68 into arendst:development Apr 11, 2021
@s-hadinger
Copy link
Collaborator

I'm working on integrating LVGL graphics engine and I'm interested in a uniform descriptor for displays. I'm using https://github.com/adafruit/Adafruit_LvGL_Glue to be able to use any Adafruit GFX compatible display. I'll check how to use it without scripter via Berry instead.

@gemu2015 gemu2015 deleted the udisplay branch April 11, 2021 16:47
@gemu2015
Copy link
Contributor Author

this is work in progress. The goal is a uniform display driver that can use most pixel hardware with a single driver.
in all common libraries you have to #define your display and every option.
i am implementing i2c and SPI (4 wire and 3 wire) interfaces. since most hardware chips operate in a similar manner it is possible to describe the interface with a simple (text) descriptor.
and even hot swap the driver that way.
i will translate the register settings to descriptors step by step.
ILI9341 and SH1106 are already working. I have an initial syntax description in the display docs.

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

Successfully merging this pull request may close these issues.

3 participants