We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a649cc commit 60ebedfCopy full SHA for 60ebedf
main/src/driver/ssd1331.c
@@ -24,10 +24,11 @@
24
#define SSD1331_GPIO_PIN_RST 14
25
26
#define SSD1331_PIN_SET() do { \
27
+ gpio_set_level(SSD1331_GPIO_PIN_DC, 0);\
28
+ gpio_set_level(SSD1331_GPIO_PIN_RST, 0);\
29
gpio_set_direction(SSD1331_GPIO_PIN_DC, GPIO_MODE_OUTPUT);\
30
gpio_set_direction(SSD1331_GPIO_PIN_RST, GPIO_MODE_OUTPUT);\
- gpio_set_level(SSD1331_GPIO_PIN_RST, 0);\
- vTaskDelay(200 / portTICK_PERIOD_MS);\
31
+ vTaskDelay(500 / portTICK_PERIOD_MS);\
32
gpio_set_level(SSD1331_GPIO_PIN_RST, 1);\
33
} while (0)
34
0 commit comments