Question: Design a program which will utilize a control bit 0 to trigger an event task each time that it makes a false-to-true transition. The event

Design a program which will utilize a control bit 0 to trigger an event task each time that it makes a false-to-true transition. The event task should include a counter to keep track of the number of times this bit goes from false-to-true. A periodic task will advance the Festo output LEDs, on the trainer, one at a time, starting with output LED 0, in sequence for each increase of five (5) true-to-false transitions that the trigger bit 0 makes. After LED 7 illuminates, the cycle should start over with LED 0. The periodic task should execute every 500 milliseconds. Include an input to manually reset any counters and LEDs. The Continuous task should only contain logic to trigger the Event task and to provide the previously mentioned reset functionality. event Counter Periodic Continuous Output LEDS Rest counters & 500 ms LEDS - Logicto trigger er
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
