summaryrefslogtreecommitdiff
path: root/src/drivers/St7789.cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-08-15Add P8B mirrored version definition.izzeho1-0/+14
2022-04-29Fix large blacklevel step. Lower 25% of shades are now accessible.Riku Isokoski1-4/+6
There is a large step in brightness from level zero to level one. After experimenting with various ST7789 options, I found that decreasing VDV to 0x10 (-0.4V) fixes this issue. The gamma change reduced the average error in brightness, but with the underlying issue fixed, the gamma change has been reverted.
2022-04-25Tweak gamma on ST7789 and match UI colorsRiku Isokoski1-0/+6
This change will increase the color accuracy of the PineTime and make UI development with the simulator easier.
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher1-2/+2
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
2021-08-23Remove commented commands completelyhubmartin1-9/+0
2021-08-15Remove LCD reset and more cmds, save over 200mshubmartin1-8/+8
2021-06-22Removed an illogical comparison from SystemInfo and St7789 driver (#449)Avamander1-1/+2
* Removed an illogical comparison
2021-04-24Reformatted all the files according to clang-format styleAvamander1-12/+8
2021-03-18FIX screen corruption #213Joaquim1-9/+2
2020-11-15Include cleanup: driversokaestne1-1/+1
2020-08-22Re-implement sleep/wakeup for touch panel, display, NOR Flash, SPI and TWI.JF1-3/+3
2020-05-07Add SPI NOR Flash driver, WIP.JF1-4/+5
2020-03-11Backup and restore vertical scroll offset when goind to sleep/wakeup to ↵JF1-0/+2
avoid scrambled display on wake-up.
2020-03-08When a full screen refresh is done, apply a vertical scroll during the ↵JF1-4/+4
refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
2020-02-15Add support for hardware assisted vertical scrolling.JF1-0/+17
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF1-10/+4
be improved by using 'Started' IRQ to prepare the next buffer while the current one is beeing sent.
2020-01-22[WIP] Max SPI speed reached (119ms for a full refresh. Theo max : 240*240*16 ↵JF1-4/+5
= 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
2020-01-19Implement the SPI driver using DMA.JF1-16/+2
2020-01-18Apply Hardware reset on display during wake-up, as softreset might not be ↵JF1-0/+1
enough to wake the display up.
2020-01-17Disable SPI, I²C, touch controller and display controller in sleep mode.JF1-3/+26
Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
2020-01-02Apply reset signal on pin P0.26 for LCD during init.JF1-0/+10
2019-12-07The font is now fixed width.JF1-10/+22
HUGE performance improvement of the display driver.
2019-12-07Convert Spi and GFX to C++.JF1-0/+149