In the previous lesson we began writing some code that would post and acknowledge alarms per industry standard. As you know, we ran into a little problem with the code clearing the alarm after acknowledgement but it would not re-post the alarm in constant mode. In this lesson, we are going to troubleshoot the code and determine what we need to do in order to post the alarm as flashing and when acknowledged, post the alarm in constant mode. Open up this lesson and lets finish this code to make it work as we intended.
In this lesson we are going to energize 16 lamps at the same time, with the press of a switch. After some time delay, we want the lamps to turn off one at a time, one every second, until all of lamps are de-energized. We will be using the shift instruction to accomplish this task. After we write ...
In the previous lesson we began writing some code that would turn on 16 lamps, all at once, with the press of a switch. Once the switch is released, after a short delay, the lamps are supposed to turn off, one by one, every second until they are all off. We simulated the code only to find that we...
In the previous lessons we have been working with some code that turns on multiple lamps with the press of a single switch. After a short time delay, the lamps are supposed to turn off one at a time, one every second until all of lamps are turned off. As you know during writing and testing, we ha...
9 Comments