Working better. Maybe a little more improvement needs to be made to the display algorithm.

Dependencies:   4DGL-uLCD-SE MAX31855 mbed-rtos mbed

Fork of Coffee_Roaster_testing by Eric Patterson

Stopwatch.h

Committer:
ericspatterson
Date:
2014-11-20
Revision:
8:1db15ab871a4

File content as of revision 8:1db15ab871a4:

#include "stdio.h"
#include "stdlib.h"
#include "math.h"
#include "mbed.h"
 
class Stopwatch {
public:
    Stopwatch();
    ~Stopwatch();
    void start();
    void stop();
    char* getTime();
    void countDown(int startTime);
private:
    int ms;
    int sec;
    int min;
    char buffer[9];
    Timer sw;
};