Skip to content

Commit 394493c

Browse files
authored
Merge pull request #22 from tyeth/adjust_setosc
Adjust SETOSC to 0x66 from 0x68 (60/60Hz Normal/Idle mode)
2 parents 11dddce + 3d67a8d commit 394493c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

adafruit_hx8357.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
2727
* Adafruit CircuitPython firmware for the supported boards:
2828
https://github.com/adafruit/circuitpython/releases
29+
30+
** Datasheet:**
31+
https://cdn-shop.adafruit.com/datasheets/HX8357-D_DS_April2012.pdf
2932
"""
3033

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

0 commit comments

Comments
 (0)