Skip to content

Commit

Permalink
updated secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmcaleer committed Feb 22, 2025
1 parent acfda31 commit 08d9faf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/example01.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from pichart import Chart
from presto import Presto

presto = Presto(ambient_light=True)
display = presto.display
WIDTH, HEIGHT = display.get_bounds()

chart = Chart(display, title="Temp", x_values=[20, 22, 25, 23])
chart.width = 240
chart.height = 135
chart.data_colour = {'red': 255, 'green': 0, 'blue': 0}
chart.update()
presto.update()

0 comments on commit 08d9faf

Please sign in to comment.