Generating cool tones using PWM

Sweet, I feel dangerous when I have FEZ Domino and hear this music :stuck_out_tongue:

You mean, ā€˜This board will be destroid after 10 secondsā€™.

No, I really love it.

Funny someone just asked for code on how to do PWM on OC and you already have the code
I completely forgot about this!!! (link removed)

Oh yes, Iā€™ve forget to mention, that Iā€™ve change the FEZ_Piezo Lib to use Timer Output compare instead of PWM. Iā€™ve done this because Iā€™ve run into problems using PWM for a motor driver together with a Servo.
This will be part of a robot project. What else, my nickname is my profession. :slight_smile:

dlkulp,

[quote]I have the DFRobot piezo sound component but no idea how to use it. I see the Utility.Piezo function, but how would it know which connection itā€™s on? I also see a reference to a FEZ driver for it, but I canā€™t find it. This canā€™t be hard! Any help would be appreciated.
[/quote]

take a look at this link, this project might give you some hint of how to use your DFRobot piezo sound component:

(link removed)

Ok, thank you all for your help! I got everything working.