Skip to content

Commit

Permalink
Switch LUX and PROX to be the correct way round
Browse files Browse the repository at this point in the history
  • Loading branch information
helgibbons committed Oct 16, 2024
1 parent 5eb7def commit a0785a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/explorer_sensor_stick_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@

# Set the layer we're going to be drawing to.
display.set_layer(0)

lux, _, _, _, _, _, prox = ltr.get_reading()
# Read all the sensors
prox, _, _, _, _, _, lux = ltr.get_reading()
ax, ay, az, gx, gy, gz = lsm.get_readings()
temperature, pressure, humidity = bme.read()
# Draw readings on the screen
display.set_pen(BLACK)
display.clear()
display.set_pen(WHITE)
Expand Down

0 comments on commit a0785a3

Please sign in to comment.