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.
Threads.cpp
00001 #include <cstdlib> 00002 #include <string> 00003 #include "main.h" 00004 #include "Functions.h" 00005 #include "Definitions.h" 00006 #include "Boolean.h" 00007 #include "NextionLCD.h" 00008 #include "mbed_debug.h" 00009 #include "mbed.h" 00010 #include "Languages.h" 00011 #include "Ser25lcxxx.h" 00012 #include "NVM.h" 00013 #include "Watchdog.h" 00014 #include "math.h" 00015 00016 /////////////////////////////////////////////////////////////////////////////// 00017 // MBED OBJECTS 00018 /////////////////////////////////////////////////////////////////////////////// 00019 00020 /////////////////////////////////////////////////////////////////////////////// 00021 // VARIABLES 00022 /////////////////////////////////////////////////////////////////////////////// 00023 00024 /////////////////////////////////////////////////////////////////////////////// 00025 // DEBUG 00026 /////////////////////////////////////////////////////////////////////////////// 00027 00028 /////////////////////////////////////////////////////////////////////////////// 00029 // THREADS 00030 /////////////////////////////////////////////////////////////////////////////// 00031 //Threads 00032 Thread thread1; 00033 Thread thread2; 00034 00035 void dbgNextion(void){ 00036 #ifdef DEBUG_RX 00037 while(1){ 00038 if(debugFlag){ 00039 debugFlag = false; 00040 00041 pc.printf("RX Msg : "); 00042 00043 for(int i=0; i<= dbgMRxIdx;i++) 00044 pc.printf("%.2X ",dbgNexMsg[i]); 00045 00046 pc.printf("\r\n"); 00047 } 00048 } 00049 #endif 00050 }
Generated on Tue Jul 19 2022 00:58:42 by
1.7.2