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.
main.cpp
00001 #include "System.h" 00002 00003 int main() 00004 { 00005 InitPCBackDoor(); 00006 GFX_Init(); 00007 InitButton(); 00008 LoadConfiguration(); 00009 InitADC(); 00010 InitTerminal(); 00011 InitRobotPowerMeasurementSystem(); 00012 EnterSystemState(SYSTEM_STATE_INIT); 00013 DisplayBootMsg(); 00014 00015 while(TRUE) 00016 { 00017 00018 switch(SystemState) 00019 { 00020 default: 00021 case SYSTEM_STATE_INIT: 00022 EnterSystemState(SYSTEM_STATE_IDLE); 00023 break; 00024 00025 case SYSTEM_STATE_LOGGING: 00026 ProcessTerminal(); 00027 CheckButton(); 00028 UpdateDisplay(); 00029 CheckSDCardStatus(); 00030 LogData(); 00031 break; 00032 00033 case SYSTEM_STATE_IDLE: 00034 ProcessTerminal(); 00035 CheckButton(); 00036 UpdateDisplay(); 00037 break; 00038 00039 } 00040 } 00041 } 00042
Generated on Thu Jul 14 2022 09:05:34 by
1.7.2