You are reading a single comment by @Tx and its replies.
Click here to read the full conversation.
-
The code question and all changes to the standard pattern were the desperate attempt to get rid of the infinite buzzing bug, which turned out to be a firmware problem which you fixed right now. I'm using the standard pattern again since it has become clear that it is a bug in the firmware. btw: ALL hard to track bugs I reported so far turned out to be bugs in the end.
There were some posts a while ago where you were doing an hour chime and were trying to change the code such that the buzzer didn't get stuck on: http://forum.espruino.com/conversations/370318/#comment16309177
And I was saying 'No, please don't do that because you can end up with it happening multiple times'.
Is it possible that you were still using your modified code and not what I'd posted?