fuck this

Dependencies:   BMP280

Committer:
Swaggie
Date:
Tue Jan 02 13:29:00 2018 +0000
Revision:
5:bea93c8e50b7
Parent:
4:2e6d9492b76d
Child:
6:8e1795a5886b
Added SD Card and environmental sensor libraries

Who changed what in which revision?

UserRevisionLine numberNew contents of line
noutram 0:65ff7ad381e8 1 #include "mbed.h"
Swaggie 2:5a38ae8459d5 2 #include "WebUI.h"
Swaggie 2:5a38ae8459d5 3 #include "Serial.h"
Swaggie 3:8fa1e77c8a5d 4 #include "Sampling.h"
Swaggie 3:8fa1e77c8a5d 5 #include "LCD.h"
Swaggie 5:bea93c8e50b7 6 #include "SDBlockDevice.h"
Swaggie 5:bea93c8e50b7 7 #include "FATFileSystem.h"
Swaggie 5:bea93c8e50b7 8
Swaggie 5:bea93c8e50b7 9 //SD Card Object
Swaggie 5:bea93c8e50b7 10 SDBlockDevice sd(D11, D12, D13, D10); // mosi, miso, sclk, cs
Swaggie 5:bea93c8e50b7 11 //File pointer for the SD card
Swaggie 5:bea93c8e50b7 12 FILE* fp;
noutram 0:65ff7ad381e8 13
noutram 0:65ff7ad381e8 14 int main()
noutram 0:65ff7ad381e8 15 {
Swaggie 2:5a38ae8459d5 16 //Initialise devices
Swaggie 4:2e6d9492b76d 17 WebUISetup();
noutram 0:65ff7ad381e8 18
Swaggie 5:bea93c8e50b7 19
Swaggie 2:5a38ae8459d5 20 //Hardware Self Test
Swaggie 2:5a38ae8459d5 21
Swaggie 2:5a38ae8459d5 22 //Initilaiase interrupts and times
noutram 0:65ff7ad381e8 23 }