why couldn't we just use the PWM to control the Piezo?
I am currently on project 6 of the arduino starter kit (light theremin),and although I read the descriptions thouroghly, I fail to understand:what is the difference between PWM and the tone() function?why couldn't we just use the PWM to control the Piezo?when would you use PWM normally, and when tone()?other shorter and more general issues I wondered about:1. is there a "correct" way to disconnect the arduino after running a script? or should I just unplug it? 2. Should I reset or something after every use? or is it ok if the script stays on it till the next upload?(I worry that running an old script with a different wiring might screw something up)3. is it normal that some components are quite tricky to fit into the breadboard?(specifically: photorsesistors, potentiometers, capacitors)lots of questions but would appretiate any help!Thanks,Vertigo5