3rd Repo, trying to figure this out.

Dependencies:   LPS25H hts221

Fork of SOFT253_Template_Weather_OS_54 by Stage-1 Students SoCEM

Measure/Measure.cpp

Committer:
aburch1
Date:
2017-05-11
Revision:
82:668b51a39148
Parent:
81:996c0a3319b4
Child:
83:0d3572a8a851

File content as of revision 82:668b51a39148:

#include "Measure.h"

    //Constructor taking 3 parameters
    Measure::Measure(float f, float h, float p) {
        temperature = f;
        humidity = h;
        pressure = p;    
    }
    // Empty / default constructor
    Measure::Measure()
    {
        temperature = 0;
        humidity = 0;
        pressure = 0;    
    }
    // Constructor taking 4 paramters, in cluding a LocalDate
    Measure::Measure(LocalDate d,float f, float h, float p)
    {
        date = d;
        temperature = f;
        humidity = h;
        pressure = p;   
    }