removed freq
fix state machine mistake
fixed bug that kept LED on
changed _tone to _pattern
fixed turnon
fixed transition from on to flash
Merge pull request #2 from zettajs/pulse

normalized the buzzer and led to use same patterns.