homework 7
Dependencies: mbed-rtos mbed C12832_lcd LM75B
Diff: main.cpp
- Revision:
- 109:2fa55ab6e178
- Parent:
- 108:da479434bd7d
- Child:
- 110:a3b95ccfaed6
--- a/main.cpp Thu Sep 12 21:15:47 2013 +0000 +++ b/main.cpp Thu Sep 12 21:16:37 2013 +0000 @@ -106,7 +106,6 @@ tRemainingTime giRemainingTime; // structure instance. tLCD giLCD; // structure instance. - int gdDiagTotalTime; char gcBeepEnable; //--global_instances----------------------------//------------------------------ Serial pc(USBTX, USBRX); // PuTTY terminal communication. @@ -207,20 +206,14 @@ Thread thread_4(threadButtonStateManager,NULL,osPriorityIdle,DEFAULT_STACK_SIZE,NULL); // was osPriorityIdle Thread thread_5(threadCookStateFSM ,NULL,osPriorityIdle,DEFAULT_STACK_SIZE,NULL); -//Thread thread_4(threadButtonStateManager); - - // the message-receiving threads need 'else' for message-receive-timeout. - -// int dSeconds; -// dSeconds = 8; while(1) { - // pc.printf("\n\r gdDiagTotalTime %d",gdDiagTotalTime); + Thread::wait(1000);