Zeroplus Arduino starter kit with Logic Analyzer Manual page 62

Table of Contents

Advertisement

CODE EXPLANATION
light
=
map(light,
redefines the working range and assign to the variable a new
value from the new scale.
light = constrain(light, 0, 100) constrain() forces the value
to remain within a certain range.
REAL LIFE APPLICATIONS
Light
sensors
in
brightness to the ambient light.
HELLO
ZEROPLUS!
sensorLow,
sensorHigh,
Smartphones
automatically
HELLO
ZEROPLUS!
0,
100)
map()
adjust
the
screen

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Arduino starter kit with Logic Analyzer and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents