Keep comparing it with 0.3 before breaking your head.
I cleaned and reworked the display code, it was prety messy and redudant, now is a lot easier to modify, so you might want to try different initializations sequences.
- Setup the IDE (Easy step, just download and install)
- Download the code in .zip rom github, unpack somewhere
- Run _KSGER_v3.bat to load the profile.
- Open the IDE, import the project at the root of the folder (ignore those inside "board" folder)
- Go to Drivers/graphics/lcd.h
Adjust the first lines as this:
/* Display selection */
#define ST7565
//#define SSD1306
Above those lines you can find the command codes.
- The initialization sequences are at start of Drivers/graphics/lcd.c
// CMD_SIZE, DELAY_MS, CMD_DATA
const uint8_t disp_init[] = { // Initialization for ST7565R
1, 0, c_disp_off,
1, 0, c_bias_7,
1, 0, c_adc_norm,
1, 0, c_com_norm,
1, 0, c_start_line,
1, 50, c_pwr_ctrl | c_pwr_boost,
1, 50, c_pwr_ctrl | c_pwr_boost | c_pwr_vreg,
1, 50, c_pwr_ctrl | c_pwr_boost | c_pwr_follow,
2, 50, c_boost_ratio, c_boost_234,
1, 50, c_res_ratio | 0x07,
2, 0, c_set_volume, 0x16,
1, 0, c_disp_off,
1, 0, c_all_on
};
Follow the project Readme in Github for more details.