Skip to content

Commit

Permalink
Update Panel_RA8875.cpp
Browse files Browse the repository at this point in the history
fix for using the lib with Adafruit RA8875 Board
  • Loading branch information
tobi807 authored Jul 15, 2024
1 parent 50a1800 commit 18ecaa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lgfx/v1/panel/Panel_RA8875.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ namespace lgfx
0x1e , 1, 0x06, //VSTR1 //VSYNC Start Position[8] //VSYNC Start Position(PCLK) = (VSTR + 1)
0x1f , 1, 0x01, //VPWR //VSYNC Polarity ,VSYNC Pulse Width[6:0] //VSYNC Pulse Width(PCLK) = (VPWR + 1)

0xc7 , 1, 0x01, // set Extra General Purpose IO Register to Output (used to enable Display by Adafruit)

0x8a , 1, 0x80, //PWM setting
0x8a , 1, 0x81, //PWM setting //open PWM
0x8b , 1, 0x7F, //Backlight brightness setting //Brightness parameter 0xff-0x00
Expand Down

0 comments on commit 18ecaa9

Please sign in to comment.