Added the pin outs
Dependencies: mbed mbed-rtos ShiftReg TextLCD
Diff: Post/Post.cpp
- Revision:
- 6:347c1f441b94
- Parent:
- 5:20decc99e50c
- Child:
- 7:d0159f675b30
--- a/Post/Post.cpp Thu Apr 11 11:51:16 2019 +0000 +++ b/Post/Post.cpp Thu Apr 11 18:12:31 2019 +0000 @@ -2,6 +2,7 @@ POWER POWER_1(PA_10,PA_11,PB_0,PB_1); INTERFACE INTERFACE_1; SCHEDULES SCHEDULES_1; +FEEDBACK FEEDBACK_1; void POST() { if(POWER_1.Post() == 1)//Success @@ -28,4 +29,12 @@ { PC.printf("Schedules Post fail\n"); } + if(FEEDBACK_1.Post() == 1)//Success + { + PC.printf("Feedback Post Pass\n"); + } + else if(FEEDBACK_1.Post() != 1)//Fail + { + PC.printf("Feedback Post Fail\n"); + } } \ No newline at end of file