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.
2 parents 88a0446 + 6c59025 commit e2aae43Copy full SHA for e2aae43
v3/as_drivers/hd44780/alcd.py
@@ -100,9 +100,9 @@ async def runlcd(self): # Periodically check for changed text and update LCD if
100
for row in range(self.rows):
101
if self.dirty[row]:
102
msg = self[row]
103
+ self.dirty[row] = False
104
self.lcd_byte(LCD.LCD_LINES[row], LCD.CMD)
105
for thisbyte in msg:
106
self.lcd_byte(ord(thisbyte), LCD.CHR)
107
await asyncio.sleep_ms(0) # Reshedule ASAP
- self.dirty[row] = False
108
await asyncio.sleep_ms(20) # Give other coros a look-in
0 commit comments