Makeblock-official / mbot_nodebots

MIT License
41 stars 25 forks source link

piezo in blutooth firmware makes a strange sound #10

Open nathanvale opened 8 years ago

nathanvale commented 8 years ago

When using usb i can hear the tune from the example but when using bluetooth just a weird noise.

ajfisher commented 8 years ago

Yeah this is probably a timing issue as the piezo commands need to go fast to get the right frequency. I will give this a go later and see if I can improve the speed at all.

lynnaloo commented 8 years ago

I just ran into this same issue. Any luck on this or anything I can do to help?

lynnaloo commented 8 years ago

I spent some time going down the path of speeding up the BT module, but I never got anything more than the high-pitched beeping.

ajfisher commented 8 years ago

Yeah I think this is a running coordination issue with BT and a blocking firmata process. I imagine we could build a buffer to queue the notes then send a play message maybe...

On Mon, Apr 11, 2016, 14:42 Linda Nichols notifications@github.com wrote:

I spent some time going down the path of speeding up the BT module, but I never got anything more than the high-pitched beeping.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/Makeblock-official/mbot_nodebots/issues/10#issuecomment-208161238