This week I decided to really emphasize on understanding the code and the difference between analog and physical. I realized that I lack basic knowledge in coding and I needed to research and gather my questions.
Spinning small haptic game / week 3
Questions :
LAB 2
Question in the Code : why do we use attach and not PinMode ?
what is the difference between the 2 examples ?
it seems to me that there aren’t may changes on how the code responds…
I used a photo sensor. I tested an analogRead (A0) and I was getting results from 0 - 19 .
I adjusted the map of the frequency to go from ( 0 to 19 ) .
Here is a picture of the set up ,