nrf5/drivers: Adding some more delay on bootup to ensure display recovers after reset.
This commit is contained in:
parent
22c7cf7358
commit
1208970f6c
|
@ -77,11 +77,11 @@ void driver_ili9341_init(NRF_SPI_Type * p_instance, pin_obj_t * p_cs_pin, pin_ob
|
||||||
|
|
||||||
// Read driver id
|
// Read driver id
|
||||||
|
|
||||||
mp_hal_delay_ms(500);
|
mp_hal_delay_ms(1000);
|
||||||
|
|
||||||
cmd_write(0x01);
|
cmd_write(0x01);
|
||||||
|
|
||||||
mp_hal_delay_ms(200);
|
mp_hal_delay_ms(500);
|
||||||
|
|
||||||
cmd_write(0xCF);
|
cmd_write(0xCF);
|
||||||
data_write(0x00);
|
data_write(0x00);
|
||||||
|
|
Loading…
Reference in New Issue