Twittering Billy Bass plays back samples and looks out for and reads twitters!
Dependencies: NetServices mbed
Diff: billy.cpp
- Revision:
- 1:27b1efbf5a46
- Parent:
- 0:ad2574c88043
--- a/billy.cpp Wed Apr 06 15:16:45 2011 +0000 +++ b/billy.cpp Sat Apr 09 08:35:20 2011 +0000 @@ -1,3 +1,6 @@ +// Original core billy player code factored from Steve Ravet's Big Mouth Billy Bass +// - See http://mbed.org/cookbook/Big-Mouth-Billy-Bass + #include "billy.h" #include "mbed.h" @@ -212,7 +215,6 @@ } void dac_out() { - int value; if (!movements[current_movement].played) { if (movements[current_movement].sample<=slice) { if (movements[current_movement].motor==0) body.pulsewidth_us(movements[current_movement].duty_cycle);