Group PAG / Mbed OS PAG-CourseWork-NicksEdits

Dependencies:   LPS25H hts221

Fork of Coursework by Group PAG

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Reading.cpp Source File

Reading.cpp

00001 #include "Reading.h"
00002 
00003 Reading::Reading(Clock c, float t, float p, float h){
00004     clock = c;
00005     temp = t;
00006     pressure = p;
00007     humidity = h;
00008     }
00009 Reading::Reading(){ 
00010     //clock = ???? //can't get this to work :(
00011     temp = 25.50;
00012     pressure = 1000;
00013     humidity = 55;
00014     }