makers-for-life / makair

🫁 The world's first open-source ventilator tested on human patients. Mass-producible at a low cost (~2000€).
Other
818 stars 78 forks source link

Add alarm structure #119

Closed jabby closed 4 years ago

dsferruzza commented 4 years ago

@ABOSTM We have pushed new code. We have 2 issues I believe you can help with:

  1. Specs says that low priority alarms should buzz only once, not in a loop. The buzzer pattern you made is good but we need to find a way to avoid repeating it and play it only once.
  2. The "alarm OFF" button should snooze buzzer for 2 minutes except if a new alarm of higher priority is triggered. The second part is done, but we are not sure how to implement the "auto-resume after 2 minutes".

Any idea?