This is a late add demonstrating the alarm. It starts out in SNOOZE mode and the dAISy module can be seen sending AIS messages to the serial window. The SNOOZE button is pressed again which sets the alarm again. When the next AIS message comes in it moves to ALARM mode and the buzzer sounds. The LED toggles with every AIS message. When SNOOZE is pressed again it returns to SNOOZE again and the buzzer turns off. I then press REPLAY which causes the most recent 16 AIS messages to spill quickly to the debug window of OpenCPN. When REPLAY (ON/OFF) is held for 3 seconds the alarm turns off and the buffer is cleared. Link is below...
Working_AIS_Alarm.mp4 25.1 MB