File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
ports/espressif/boards/heltec_esp32s3_wifi_lora_v3 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ uint8_t display_init_sequence[] = { // SSD1306
3434digitalio_digitalinout_obj_t display_on ;
3535
3636static void display_init (void ) {
37- // Need to bring GPIO21 high or the screen doesn't get power
37+ // Need to bring GPIO36 high or the screen doesn't get power
3838 // & the board can't see the i2c bus at all.
39- common_hal_digitalio_digitalinout_construct (& display_on , & pin_GPIO21 );
40- common_hal_digitalio_digitalinout_switch_to_output (& display_on , true , DRIVE_MODE_PUSH_PULL );
39+ common_hal_digitalio_digitalinout_construct (& display_on , & pin_GPIO36 );
40+ common_hal_digitalio_digitalinout_switch_to_output (& display_on , false , DRIVE_MODE_PUSH_PULL );
4141 common_hal_digitalio_digitalinout_never_reset (& display_on );
4242
4343 busio_i2c_obj_t * i2c = common_hal_board_create_i2c (0 );
@@ -48,7 +48,7 @@ static void display_init(void) {
4848 bus ,
4949 i2c ,
5050 0x3c ,
51- NULL
51+ & pin_GPIO21 // broken-out on V3
5252 );
5353
5454 busdisplay_busdisplay_obj_t * display = & allocate_display ()-> display ;
You can’t perform that action at this time.
0 commit comments