chore(example): fix image path in lv_example_snapshot_1.py
This commit is contained in:
@@ -18,7 +18,7 @@ label.set_text(" memory free:" + str(mem_free/1024) + " kB")
|
|||||||
|
|
||||||
# Create an image from the png file
|
# Create an image from the png file
|
||||||
try:
|
try:
|
||||||
with open('../../assets/star.png','rb') as f:
|
with open('../../assets/img_star.png','rb') as f:
|
||||||
png_data = f.read()
|
png_data = f.read()
|
||||||
except:
|
except:
|
||||||
print("Could not find star.png")
|
print("Could not find star.png")
|
||||||
|
|||||||
Reference in New Issue
Block a user