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

Adjust SETOSC to 0x66 from 0x68 (60/60Hz Normal/Idle mode) #22

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion adafruit_hx8357.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@

* Adafruit CircuitPython firmware for the supported boards:
https://github.com/adafruit/circuitpython/releases

** Datasheet:**
https://cdn-shop.adafruit.com/datasheets/HX8357-D_DS_April2012.pdf
"""

# imports
Expand All @@ -40,7 +43,7 @@
b"\xB9\x83\xFF\x83\x57\xFF" # _SETC and delay 500ms
b"\xB3\x04\x80\x00\x06\x06" # _SETRGB 0x80 enables SDO pin (0x00 disables)
b"\xB6\x01\x25" # _SETCOM -1.52V
b"\xB0\x01\x68" # _SETOSC Normal mode 70Hz, Idle mode 55 Hz
b"\xB0\x01\x66" # _SETOSC Normal mode 60Hz, Idle mode 60 Hz
b"\xCC\x01\x05" # _SETPANEL BGR, Gate direction swapped
b"\xB1\x06\x00\x15\x1C\x1C\x83\xAA" # _SETPWR1 Not deep standby BT VSPR VSNR AP
b"\xC0\x06\x50\x50\x01\x3C\x1E\x08" # _SETSTBA OPON normal OPON idle STBA GEN
Expand Down
Loading