Skip to content

Commit a8c014f

Browse files
committed
Fix typo in Example 3
display_print() isn't the right function, should just be print()
1 parent af67f57 commit a8c014f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/qwiic_alphanumeric_ex04_set_brightness.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def run_example():
6262
# So, the acceptable inputs to this function are ints between 0 (display off)
6363
# and 15 (full brightness)
6464
my_display.set_brightness(i)
65-
my_display.display_print("Milk")
6665
time.sleep(1)
66+
my_display.print("Milk")
6767

6868
if __name__ == '__main__':
6969
try:

0 commit comments

Comments
 (0)