Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE MAX31855 mbed-rtos mbed
Fork of Coffee_Roaster_Threads by
Diff: main.cpp
- 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);
