Closed GrantM11235 closed 4 years ago
Hi @GrantM11235,
Thanks for the PR!
I admit that when I wrote the driver, I pretty much copied these delays values and commands from some C driver found on the internet.
I will test these changes on my board as soon as I can, and merge if I find no issues.
Seems good! Thanks again!
After spending quite a bit of time reading the datasheet, I am pretty sure these are the minimum required delays.
I also removed all of the "extended" commands. Some (most?) display modules are configured to ignore these commands, and the ones that don't should still work fine with their default settings.
Before: 920 milliseconds After: 131 milliseconds
Tested on an STM32F103 with an 8 bit parallel bus.