MAIN

Dependencies:   LPS25H hts221

Fork of SOFT253_Template_Weather_OS_54 by Stage-1 Students SoCEM

main.cpp

Committer:
J_Satchell
Date:
2017-05-15
Revision:
37:13f74964a045
Parent:
36:af6abc6f7590

File content as of revision 37:13f74964a045:

#include "mbed.h"
#include "rtos.h"
#include "hts221.h"
#include "LPS25H.h"
#include "prompt.hpp"
#include "log.hpp"
#include "state.hpp"
#include "sensor.hpp"
#include "mbed.h"
#include "rtos.h"

Thread promptThread;
Thread sensorThread;

int main()
{
    prompt_init();
    sensor_init();

    promptThread.start(prompt_run);
    sensorThread.start(sensor_run);

    return 0;
}