updated gpio_pad_select_gpio to gpio_reset_pin
This commit is contained in:
parent
2440b9b434
commit
335d444e45
14 changed files with 36 additions and 36 deletions
|
@ -92,9 +92,9 @@ void sh1107_init(void)
|
|||
};
|
||||
|
||||
//Initialize non-SPI GPIOs
|
||||
//gpio_pad_select_gpio(SH1107_DC);
|
||||
gpio_reset_pin(SH1107_DC);
|
||||
gpio_set_direction(SH1107_DC, GPIO_MODE_OUTPUT);
|
||||
//gpio_pad_select_gpio(SH1107_RST);
|
||||
gpio_reset_pin(SH1107_RST);
|
||||
gpio_set_direction(SH1107_RST, GPIO_MODE_OUTPUT);
|
||||
|
||||
//Reset the display
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue