Plymouth ELEC351 Group T
/
ELEC351_Group_T
FINAL PROJECT isn't it
Fork of ELEC351 by
LED_LOGGING.hpp@52:99915f5240b2, 2018-01-09 (annotated)
- Committer:
- thomasmorris
- Date:
- Tue Jan 09 22:27:49 2018 +0000
- Revision:
- 52:99915f5240b2
ITS THE FINAL COMMIT MESSAGE DO DO DO DO DO
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thomasmorris | 52:99915f5240b2 | 1 | /* |
thomasmorris | 52:99915f5240b2 | 2 | This is where we define and declare LED logging states |
thomasmorris | 52:99915f5240b2 | 3 | */ |
thomasmorris | 52:99915f5240b2 | 4 | #ifndef LED_LOGGING_HPP//Header Guards Prevents Multiple includes |
thomasmorris | 52:99915f5240b2 | 5 | #define LED_LOGGING_HPP |
thomasmorris | 52:99915f5240b2 | 6 | //Libraries and header includes |
thomasmorris | 52:99915f5240b2 | 7 | #include "mbed.h" |
thomasmorris | 52:99915f5240b2 | 8 | #include "rtos.h" |
thomasmorris | 52:99915f5240b2 | 9 | #include "THREADS.hpp" |
thomasmorris | 52:99915f5240b2 | 10 | #include "LED.hpp" |
thomasmorris | 52:99915f5240b2 | 11 | |
thomasmorris | 52:99915f5240b2 | 12 | static LED Yellow_led(PB_10); //Yellow LED object |
thomasmorris | 52:99915f5240b2 | 13 | extern volatile int Log_Value; //Value of the Log |
thomasmorris | 52:99915f5240b2 | 14 | extern void Log_Leds(); //Log Leds function |
thomasmorris | 52:99915f5240b2 | 15 | #endif |