Markbishop16
Member
Hello
I am making an alarm control panel with a 20m2 that will have 4 alarm inputs, some outputs and the alarms displayed on a Picaxe 16 x 2 OLED display.
Getting the display to work correctly from the 20m2 is OK but...
How to display more than 1 alarm in a cyclic style is my question.
If alarm 2 is triggered the display will show "alarm 2" then if alarm 4 is triggered "alarm 2" and "alarm 4" need to keep cycling until the system is attended.
What may happen is alarm 2 triggers, then a couple of minutes later another alarm will occur (alarm 4), so whoever attends needs to view all the alarms.
To work properly it will need to be able to show and cycle upto 4 inputs.
If all else fails I can use a 20 x 4 OLED with one alarm on each line but I was hoping for a more elequent answer, just incase Alarm 5 rears it's head!
If someone can put me on the track of how to add and stack alarms and keep cycling round I would be very grateful.
The alarm text can come from the 20m2 or use the on board stored messages in the OLED
Thanks for reading
I am making an alarm control panel with a 20m2 that will have 4 alarm inputs, some outputs and the alarms displayed on a Picaxe 16 x 2 OLED display.
Getting the display to work correctly from the 20m2 is OK but...
How to display more than 1 alarm in a cyclic style is my question.
If alarm 2 is triggered the display will show "alarm 2" then if alarm 4 is triggered "alarm 2" and "alarm 4" need to keep cycling until the system is attended.
What may happen is alarm 2 triggers, then a couple of minutes later another alarm will occur (alarm 4), so whoever attends needs to view all the alarms.
To work properly it will need to be able to show and cycle upto 4 inputs.
If all else fails I can use a 20 x 4 OLED with one alarm on each line but I was hoping for a more elequent answer, just incase Alarm 5 rears it's head!
If someone can put me on the track of how to add and stack alarms and keep cycling round I would be very grateful.
The alarm text can come from the 20m2 or use the on board stored messages in the OLED
Thanks for reading