******************************************************* * gotc.bat : batch file for use TC 2.0 * gomsc.bat : batch file for use MSC 5.0/6.0 * demo93.prj : project file for TC++3.0 or BC++ 3.1 ******************************************************* DEMO93 Demonstration for use Timer functions to calculate functions will take how much time. functions used : TimerOpen --> start to use timer TimerClose --> stop use timer StopWatchStart --> start to count time StopWatchReadValue --> read current time count(unit:ms) Rest result: kbhit() takes 0.5822 ms kbhit4() takes 0.0160 ms LedOn(),LedOff() takes 0.0077 ms ReadNVRAM() takes 0.1155 ms WriteNVRAM() takes 0.1186 ms ReadEEP() takes 0.3700 ms WriteEEP() takes 4.636 ms Show5DigitLed() takes 0.0663 ms FlashErase() takes 754.0 ms FlashWrite() takes 0.0411 ms PS. when program is running don't press anykey .