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 88a0446 commit 6c59025Copy full SHA for 6c59025
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