Skip to content

Commit e1e4671

Browse files
committed
Minor changes on the unicorns
1 parent 7e65c15 commit e1e4671

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

micropython/examples/cosmic_unicorn/light_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
MAX_RANGE = 1
3232

3333
# Rate of display change i.e the lower the value the slower the transition
34-
TRANSITION_RATE = 1.0 / 32.0
34+
TRANSITION_RATE = 1.0 / 72.0
3535

3636
# perform linear interpolation to map a range of values to discrete
3737
def map_range(

micropython/examples/galactic_unicorn/light_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
MAX_RANGE = 1
3232

3333
# Rate of display change i.e the lower the value the slower the transition
34-
TRANSITION_RATE = 1.0 / 32.0
34+
TRANSITION_RATE = 1.0 / 72.0
3535

3636

3737
# perform linear interpolation to map a range of values to discrete

micropython/examples/stellar_unicorn/light_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
MAX_RANGE = 1
3232

3333
# Rate of display change i.e the lower the value the slower the transition
34-
TRANSITION_RATE = 1.0 / 32.0
34+
TRANSITION_RATE = 1.0 / 72.0
3535

3636

3737
# perform linear interpolation to map a range of values to discrete

0 commit comments

Comments
 (0)