Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ELEC351 by
Diff: SAMPLE.hpp
- Revision:
- 52:99915f5240b2
- Parent:
- 48:244d6d81bb52
--- a/SAMPLE.hpp Tue Jan 09 15:15:08 2018 +0000 +++ b/SAMPLE.hpp Tue Jan 09 22:27:49 2018 +0000 @@ -1,6 +1,10 @@ +/* +This is where we define our sampling functions as well as our signal definitions +*/ + #ifndef SAMPLE_HPP #define SAMPLE_HPP - +//Libraries and header includes #include "TIME.hpp" #include "THREADS.hpp" #include "DATA.hpp" @@ -25,14 +29,10 @@ #define Do_Delete_Data 1 #define Dont_Delete_Data 0 -extern void Sampling_ISR(); -extern void Sample_Event(); +extern void Sampling_ISR(); //Sampling Interrupt Service Routine +extern void Sample_Event(); //Sample event occued //LED object constructors static LED Red_led(PE_15); -static LED Yellow_led(PB_10); static LED Green_led(PB_11); - - - #endif \ No newline at end of file