Closed ndoo closed 5 months ago
So after changing the volume and frequency (Freematics.cpp), how can I customize it? It sounds the same to me.
Hi there, this is implemented in 51c2548 - telelogger v5: Add customizable startup beep sequence:
The configuration needed is documented in config.h:
#define BEEP_TABLE {2000} /* Hz, each value is a 100ms cycle (use "0" to add gaps) */
E.g.:
#define BEEP_TABLE {1000, 0, 2000, 0, 4000} /* Hz, each value is a 100ms cycle (use "0" to add gaps) */
Hi, With this code how are we suppose to control the buzzer? Is the original volume the loudest already?
Hi, volume control is out of scope of this PR. The original volume is the loudest possible already.
Hi, Do you have any clue how I can adjust the volume of the buzzer?
Merged a bunch of improvements/fixes from soshial@, and cherry-picked improvements/fixes from tripplet. Added some improvements of my own. Please refer to commits for specifics. Review/feedback welcome.
Duplicates:
138
141
145
147
148
Apologies for raising a large PR, but hopefully I was able to add some value, as I have compile-tested and fuctionality-tested the changes on my Freematics ONE+ model B.