CIS441 Controller
Dependencies: TextLCD mbed-rtos mbed
Fork of PacemakerController by
Diff: PacemakerController.cpp
- Revision:
- 14:a16b636c2bbc
- Parent:
- 13:2a25dd47478e
- Child:
- 17:c89cddf30925
--- a/PacemakerController.cpp Mon Nov 30 20:53:55 2015 +0000 +++ b/PacemakerController.cpp Mon Nov 30 21:01:11 2015 +0000 @@ -39,8 +39,8 @@ // alarms -DigitalOut Apace(LED1); -DigitalOut Vpace(LED2); +DigitalOut led_apace(LED1); +DigitalOut led_vpace(LED2); DigitalOut Asense(LED3); DigitalOut Vsense(LED4); DigitalOut apace(p22): @@ -193,6 +193,7 @@ void apace() { apace = 1; + led_apace = 1; Thread::wait(10); apace = 0; @@ -200,6 +201,7 @@ void vpace() { vpace = 1; + led_vpace = 1; Thread::wait(10); vpace = 0; }