A classy affair
Dependencies: mbed mbed-rtos ShiftReg TextLCD
Post/Post.cpp@4:1ef122d47bf3, 2019-04-11 (annotated)
- Committer:
- thomasmorris
- Date:
- Thu Apr 11 11:37:39 2019 +0000
- Revision:
- 4:1ef122d47bf3
- Parent:
- 3:3700f0c29710
- Child:
- 5:20decc99e50c
A very classy affair
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thomasmorris | 3:3700f0c29710 | 1 | #include "Post.hpp" |
thomasmorris | 3:3700f0c29710 | 2 | POWER POWER_1(PA_10,PA_11,PB_0,PB_1); |
thomasmorris | 3:3700f0c29710 | 3 | INTERFACE INTERFACE_1; |
thomasmorris | 3:3700f0c29710 | 4 | void POST() |
thomasmorris | 3:3700f0c29710 | 5 | { |
thomasmorris | 3:3700f0c29710 | 6 | if(POWER_1.Post() == 1)//Success |
thomasmorris | 3:3700f0c29710 | 7 | { |
thomasmorris | 3:3700f0c29710 | 8 | PC.printf("POWER Post pass\n"); |
thomasmorris | 3:3700f0c29710 | 9 | } |
thomasmorris | 3:3700f0c29710 | 10 | if(INTERFACE_1.Post() == 1)//Success |
thomasmorris | 3:3700f0c29710 | 11 | { |
thomasmorris | 4:1ef122d47bf3 | 12 | PC.printf("Interface Post pass\n"); |
thomasmorris | 3:3700f0c29710 | 13 | } |
thomasmorris | 3:3700f0c29710 | 14 | } |