diff --git a/micropython/examples/cosmic_unicorn/light_sensor.py b/micropython/examples/cosmic_unicorn/light_sensor.py index a56823c5..979ff909 100644 --- a/micropython/examples/cosmic_unicorn/light_sensor.py +++ b/micropython/examples/cosmic_unicorn/light_sensor.py @@ -3,9 +3,12 @@ from cosmic import CosmicUnicorn from picographics import PicoGraphics, DISPLAY_COSMIC_UNICORN as DISPLAY """ -Auto brightness feature for the Cosmic unicorn -Uses the onboard light sensor to detect the light -The brightness percentage is displayed with brightness auto adjusted +Light sensoring feature for the cosmic unicorn +Uses the onboard light sensor to detect the light in the environment +The brightness level is displayed as percentage. +Brightness of the display is auto adjusted to the brightness level of the environment +Press A to turn auto brightness on +Press B to turn auto brightness off """ # set up unicorn and drawing variables cu = CosmicUnicorn() @@ -140,8 +143,7 @@ while True: # draw the text graphics.set_pen(CURRENT_COLOUR) - graphics.text("BRT ", 0, 1, scale=1) - draw_percentage(15, 1) + graphics.text("BRT: ", 0, 1, scale=1) graphics.text(f"{bp:.0f}", 7, 23, scale=1) draw_percentage((WIDTH - 10), 23) diff --git a/micropython/examples/galactic_unicorn/light_sensor.py b/micropython/examples/galactic_unicorn/light_sensor.py index c13f2057..2966e09c 100644 --- a/micropython/examples/galactic_unicorn/light_sensor.py +++ b/micropython/examples/galactic_unicorn/light_sensor.py @@ -3,9 +3,12 @@ from galactic import GalacticUnicorn from picographics import PicoGraphics, DISPLAY_GALACTIC_UNICORN as DISPLAY """ -Auto brightness feature for the galactic unicorn -Uses the onboard light sensor to detect the light -The brightness percentage is displayed with brightness auto adjusted +Light sensoring feature for the galactic unicorn +Uses the onboard light sensor to detect the light in the environment +The brightness level is displayed as percentage. +Brightness of the display is auto adjusted to the brightness level of the environment +Press A to turn auto brightness on +Press B to turn auto brightness off """ # set up unicorn and drawing variables gu = GalacticUnicorn() diff --git a/micropython/examples/stellar_unicorn/light_sensor.py b/micropython/examples/stellar_unicorn/light_sensor.py index b115a8c3..e2038c22 100644 --- a/micropython/examples/stellar_unicorn/light_sensor.py +++ b/micropython/examples/stellar_unicorn/light_sensor.py @@ -3,9 +3,12 @@ from stellar import StellarUnicorn from picographics import PicoGraphics, DISPLAY_STELLAR_UNICORN as DISPLAY """ -Auto brightness feature for the stellar unicorn -Uses the onboard light sensor to detect the light -The brightness percentage is displayed with brightness auto adjusted +Light sensoring feature for the stellar unicorn +Uses the onboard light sensor to detect the light in the environment +The brightness level is displayed as percentage. +Brightness of the display is auto adjusted to the brightness level of the environment +Press A to turn auto brightness on +Press B to turn auto brightness off """ # set up unicorn and drawing variables su = StellarUnicorn()