I want to use the tone like functionality that is there in Arduino using Breakout. I tried using the oscillator example for this. But I am not getting the same output sound out of the buzzer as like a Tone function. What should I do ?
That’s because the oscillator is only useful at low frequencies. However, someone is working on adding Tone support to Firmata: https://github.com/firmata/arduino/pull/93. Once this is in place I’ll be able to add a tone object to Breakout.
I just push a tone branch: https://github.com/firmata/arduino/tree/tone. Have only tested this in Arduino 1.0.5 so far. Replace the Firmata directory in Arduino 1.0.5 with the contents of the tone branch. Then load File -> Examples -> Firmata -> ConfigurableFirmata to your board.