Fix reset

This commit is contained in:
Dejvino 2020-08-04 13:52:54 +00:00
parent 911ffd78e6
commit 1aac4e79a2

View File

@ -131,7 +131,9 @@ lcd_t *lcd_init(int spiSpeed, int channel, int cs, int a0, int rs)
if(instance->rs != -1)
{
gpio.pinMode(instance->rs, OUTPUT);
gpio.digitalWrite(instance->rs, HIGH); /* Reset OFF */
gpio.digitalWrite(instance->rs, LOW);
gpio.delay(10);
gpio.digitalWrite(instance->rs, HIGH);
gpio.delay(10);
}