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

Revision:
3:0f0e79eff4a7
Parent:
2:c94244d1cab4
Child:
4:85eb29963721
--- a/main.cpp	Thu Nov 13 01:21:06 2014 +0000
+++ b/main.cpp	Thu Nov 13 01:24:09 2014 +0000
@@ -121,7 +121,7 @@
         uLCD.printf("%2d", key_code);
         four_slots.release(); 
              
-        if (key_code == 1){
+        if (key_code == 2){
             settemp += 1;
             four_slots.wait();    
             uLCD.color(0xFFFF00);        
@@ -132,7 +132,7 @@
             four_slots.release(); 
             //wait(.5);
         }
-        if (key_code== 2){
+        if (key_code== 1){
             settemp -= 1;
             four_slots.wait();    
             uLCD.color(0xFFFF00);