You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reactivity: the arc rendering is slow due to the oversampled _draw_arc() which draws many line segments per frame. The gauge update feels sluggish when moving an object in front of the VL53L1X.
Possible improvements
Reduce arc oversampling in _draw_arc() for a speed/quality tradeoff
Display value with screen.text() at scale=1 instead of scale=2 for readability
Increase the sleep interval to match the actual frame rate (avoid queuing frames)
Consider a partial redraw strategy (only redraw the arc delta, not the whole screen)
Observed on
STeaMi Rev A, SSD1327 OLED, VL53L1X distance sensor.
Problem
The
gauge_demo.pyexample has two issues observed on hardware:_draw_arc()which draws many line segments per frame. The gauge update feels sluggish when moving an object in front of the VL53L1X.Possible improvements
_draw_arc()for a speed/quality tradeoffscreen.text()at scale=1 instead of scale=2 for readabilityObserved on
STeaMi Rev A, SSD1327 OLED, VL53L1X distance sensor.