From e1e467185a3156d723ca762e0861ad5f37969e2d Mon Sep 17 00:00:00 2001 From: Irvin Date: Thu, 3 Aug 2023 15:03:55 +0100 Subject: [PATCH] Minor changes on the unicorns --- micropython/examples/cosmic_unicorn/light_sensor.py | 2 +- micropython/examples/galactic_unicorn/light_sensor.py | 2 +- micropython/examples/stellar_unicorn/light_sensor.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/micropython/examples/cosmic_unicorn/light_sensor.py b/micropython/examples/cosmic_unicorn/light_sensor.py index 6a04d9a6..a56823c5 100644 --- a/micropython/examples/cosmic_unicorn/light_sensor.py +++ b/micropython/examples/cosmic_unicorn/light_sensor.py @@ -31,7 +31,7 @@ MIN_RANGE = 0.1 MAX_RANGE = 1 # Rate of display change i.e the lower the value the slower the transition -TRANSITION_RATE = 1.0 / 32.0 +TRANSITION_RATE = 1.0 / 72.0 # perform linear interpolation to map a range of values to discrete def map_range( diff --git a/micropython/examples/galactic_unicorn/light_sensor.py b/micropython/examples/galactic_unicorn/light_sensor.py index 2fffd019..c13f2057 100644 --- a/micropython/examples/galactic_unicorn/light_sensor.py +++ b/micropython/examples/galactic_unicorn/light_sensor.py @@ -31,7 +31,7 @@ MIN_RANGE = 0.1 MAX_RANGE = 1 # Rate of display change i.e the lower the value the slower the transition -TRANSITION_RATE = 1.0 / 32.0 +TRANSITION_RATE = 1.0 / 72.0 # perform linear interpolation to map a range of values to discrete diff --git a/micropython/examples/stellar_unicorn/light_sensor.py b/micropython/examples/stellar_unicorn/light_sensor.py index 4cdddc53..b115a8c3 100644 --- a/micropython/examples/stellar_unicorn/light_sensor.py +++ b/micropython/examples/stellar_unicorn/light_sensor.py @@ -31,7 +31,7 @@ MIN_RANGE = 0.1 MAX_RANGE = 1 # Rate of display change i.e the lower the value the slower the transition -TRANSITION_RATE = 1.0 / 32.0 +TRANSITION_RATE = 1.0 / 72.0 # perform linear interpolation to map a range of values to discrete