lec 3 Flashcards
1
Q
what is Mapping
A
a map function used to re-map a number held in a variable or an object
2
Q
what is the function of mapping
A
provides scaling function without having to calculate equation each time.
3
Q
format for function code
A
Variable name = map( object, Input[Min], Input[Max], Output[Min], Output[Max] )
4
Q
what does a DC servo motor have to connect to (3)
A
connected to ground, a power supply
and a signal
5
Q
how do DC motors work
A
the motors just move back and forth
6
Q
how do you smooth out any voltage dips on a servo motor
A
place a 100μF decoupling capacitor across the power supply lines to the servo motor
7
Q
what is servo motor powered from
A
+5 volt power supply on Arduino