- Notifications
You must be signed in to change notification settings - Fork 75
fix: (display_driver_framework.py) python runtime compilation, set_rotation, (st7789.py) writing 0xB6 #9
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
Conversation
| I appreciate the changes. Thanks for fixing the rotation and the indexes for sending the initialization commands. The changes made to the display driver framework for setting the buffers is incorrect
This was a change made for version 9.0 |
| I reverted back this change, I still have to test, I remember getting an error that |
| I might need to checkout the latest master branch in the LVGL submodule. I don't remember when that change was made. |
| I get this error: this are the member functions the example here also uses |
| the use of set_draw_buffers is because of this line
That function returns an When creating the buffers in the binding I have written the returned data type is a pointer to a location in memory not a structure. so I cannot call If you are getting an error it is because I need to update the submodule pointer to the latest master branch. You can do this manually bu going into the lib/lvgl folder and typing in |
| Getting this to work needs a little patching in the build scripts So I did then erase + flash and everything executes without errors! I still get nothing on my screen, but that might be due to something else, still investigating another error with SPI bus and providing the buffer, I will report that separately: #10 |
| I know there are still some issues in the code and that the submodule for LVGL needs to be updated. am making a change to remove something that i Believe is causing problems with the driver. I had opted to not have a lot of repeat code for handling the bus drivers when I added the bit-bang drivers so other MCU's and I believe that extra code that I added to handle the "sharing" of the micropython api side of things is causing an issue. I still have to run some tests to see if the code changes will stop the crashing/not functioning. |
| The 2 changes remaining in this pull request are still valid (rotation for MADCTL register + 0xB6 register parameter count) |
No description provided.