For this assignment I used the on start and forever blocks. At first I had some trouble figuring out the wiring. For the "On Start" block I added two functions, for the first I set the potentiometer to 0, and on the second block, the light was set to 0. On the forever block, I utilized two analog pins and a musical function. For the first pin I set the potentiometer to "analog read pin p1". For the second one I set the light to "analog read pin p2". The last musical function was to play tone potentiometer for light. When I turned the potentiometer to the left, I noticed the sound was lower . I thought it was really cool how I was able to control the sound by adjusting the knob of the potentiometer. Also, I noticed if I covered the photo cell my sound either stopped or became very faint.
- cbelizaire76