Commit ca677973 authored by Klint Youngmeyer's avatar Klint Youngmeyer
Browse files

Actually fix LCD not working before RS9116 is initialized

parent a7466cfc
......@@ -734,8 +734,14 @@ soft_reset:
#if defined(MITIPY) || defined(CUTIPY)
#if MICROPY_PY_RS9116
const pin_obj_t *cs_9116 = pin_find(mp_obj_new_str("I0", strlen("I0")));
const pin_obj_t *rst_9116 = pin_find(mp_obj_new_str("E3", strlen("E3")));
const pin_obj_t *cs_lcd = pin_find(mp_obj_new_str("C1", strlen("C1")));
mp_hal_pin_output(cs_9116);
mp_hal_pin_low(cs_9116);
mp_hal_pin_output(rst_9116);
mp_hal_pin_output(cs_lcd);
mp_hal_pin_high(cs_9116);
mp_hal_pin_high(cs_lcd);
mp_hal_pin_low(rst_9116);
#endif
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment