Hi all,
I was playing with some code on the buzzer last night, wondering if I could change the beep/buzz pattern for different kinds of alarms for different issues. I've seen some code around that even plays tunes on the peizo, but wasn't having much luck trying to change the volume or frequency of the alarm. Shouldn't this be possible with the buzzer connected to the daylight or actinic ports on the outlet box?
-Jon
buzzer
Re: buzzer
They are self driven buzzers and you can't change pitch or intensity.
What you can do is turn then on/off to generate a different sequence. Like, 2 beeps for something or 1 beep pause 2 beeps for something else and so on.
I've created a few different sequences for some other prototypes:
You are more than welcome to use them.
https://github.com/reefangel/Libraries/ ... instance.h
What you can do is turn then on/off to generate a different sequence. Like, 2 beeps for something or 1 beep pause 2 beeps for something else and so on.
I've created a few different sequences for some other prototypes:
You are more than welcome to use them.
https://github.com/reefangel/Libraries/ ... instance.h
Roberto.
- jsclownfish
- Posts: 378
- Joined: Mon Oct 24, 2011 7:52 pm
- Location: Saint Louis
Re: buzzer
cool!
Thanks,
Jon
Thanks,
Jon