Hello world for MAX31855 thermocouple
Dependencies: 4DGL-uLCD-SE MAX31855 mbed-rtos mbed
Fork of Thermo_MAX31855 by
Diff: main.cpp
- Revision:
- 1:04f483a4edc0
- Parent:
- 0:1f8e362f558b
- Child:
- 2:0525f2f1dd95
--- a/main.cpp Tue Oct 21 14:15:32 2014 +0000 +++ b/main.cpp Tue Oct 21 21:04:21 2014 +0000 @@ -36,7 +36,7 @@ uLCD.printf("ET: %2d:%2d:%2d", h,m,s); //lcd_mutex.unlock(); four_slots.release(); - Thread::wait(250); // update once per secon + Thread::wait(1000); // update once per secon } } @@ -54,7 +54,7 @@ uLCD.color(0xFFFF00); uLCD.locate(0,3); //col,row wait(0.1); - uLCD.printf("Temp. is: %f", ftemperature); + uLCD.printf("Temp. is: %4.2f", ftemperature); four_slots.release(); }