stuff
This commit is contained in:
parent
0e7cd1f161
commit
d31f865dcc
1 changed files with 1 additions and 1 deletions
2
LCD.py
2
LCD.py
|
|
@ -88,7 +88,7 @@ class LCD:
|
||||||
elif line == 4:
|
elif line == 4:
|
||||||
lcd_line = self.LCD_LINE_4
|
lcd_line = self.LCD_LINE_4
|
||||||
else:
|
else:
|
||||||
raise ValueError('line number out of range')
|
raise ValueError(f'line number {lcd_line} out of range')
|
||||||
|
|
||||||
string = string.ljust(self.LCD_WIDTH," ")
|
string = string.ljust(self.LCD_WIDTH," ")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue