Plymouth ELEC351 Group T / Mbed OS ELEC351

Dependencies:   BME280 BMP280 TextLCD

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SAMPLE.hpp Source File

SAMPLE.hpp

00001 #ifndef SAMPLE_HPP
00002 #define SAMPLE_HPP
00003 
00004 #include "TIME.hpp"
00005 #include "THREADS.hpp"
00006 #include "DATA.hpp"
00007 #include "SERIAL.hpp"
00008 #include "LED.hpp"
00009 #include "LCD_COMMAND.hpp"
00010 #include "sample_hardware.hpp"
00011 
00012 //Signal Definitions
00013 #define SamplingTime 1
00014 #define SerialCommsTime 1
00015 #define NotSerialCommsTime 0
00016 #define NotSamplingTime 0
00017 #define Print_Time_to_LCD 1
00018 #define Dont_Print_Time_to_LCD 0
00019 #define EDGE_RISEN 1
00020 #define EDGE_FALLEN 0
00021 #define SD_Data_Ready 1
00022 #define No_SD_Data_Ready 0
00023 #define Do_Read_Data 1
00024 #define Dont_Read_Data 0
00025 #define Do_Delete_Data 1
00026 #define Dont_Delete_Data 0
00027 
00028 extern void Sampling_ISR();
00029 extern void Sample_Event();
00030 
00031 //LED object constructors
00032 static LED Red_led(PE_15);
00033 static LED Yellow_led(PB_10);
00034 static LED Green_led(PB_11);
00035 
00036 
00037 
00038 #endif