Closed moshe-braner closed 5 months ago
Modified sound alerts code to emit 3 different sounds:
The pitch (Hz) of these beeps also increases with the level. The beeps' pitch, number and duration is set by constants in sound.h.
This requires a piezo passive speaker attached between GPIO pin 14 and ground.
All this does not affect whatever sounds may be made by other devices that the NMEA data is sent to, e.g., Tophat on a phone or tablet. But is useful if that other device does not have audio output, e.g., a Nook or Kobo e-reader.
Audio traffic alarms using internal buzzer as added by Caz are too simple. Should modify to have different sounds for different alarm levels, similar to Portable PowerFLARM.