|
Sound!
We have a burnout Robot that does burnouts (smokebombs!) and we wanted to add sound (simple fixed pitch, squealing sound) to our robot (IFI system). I did a tad of research, and it appears that all I would need is a 5v speaker and hook it up to a relay and every loop send it forward and next loop send reverse. Am I correct or would i have to use the pwm? I would have to use the fast loop, and execute it with a counter to change the pitch and like.
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
|