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 52c3a31 commit a1ff1e1Copy full SHA for a1ff1e1
TFT_Gizmo_Candy_Hearts/candy_heart_ble.py
@@ -52,7 +52,7 @@
52
group.append(line2)
53
display.show(group)
54
55
-def update_heart(message, color):
+def update_heart(message, heart_color):
56
# turn off auto refresh while we change some things
57
display.auto_refresh = False
58
# set message text
@@ -63,7 +63,7 @@ def update_heart(message, color):
63
line1.anchored_position = (120, 85)
64
line2.anchored_position = (120, 175)
65
# set heart color
66
- palette[1] = color
+ palette[1] = heart_color
67
# OK, now turn auto refresh back on to display
68
display.auto_refresh = True
69
0 commit comments