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
Diff: Stopwatch.h
- Revision:
- 8:1db15ab871a4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Stopwatch.h Thu Nov 20 20:30:51 2014 +0000 @@ -0,0 +1,20 @@ +#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; +}; \ No newline at end of file