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 "mbed.h" 00002 #include "cdef.h" 00003 #include "lab.h" 00004 00005 DigitalOut bLed1(LED1); 00006 00007 Ticker stSysTick; 00008 00009 byte bTimerFlag; /* 00010 * Description : Merkflag 00011 */ 00012 00013 void vTimerTick( void ){ 00014 bLed1 = !bLed1; 00015 bTimerFlag = 1; 00016 } 00017 00018 /***************************** 00019 * Einsprung nach POR 00020 ****************************/ 00021 int main() { 00022 bTimerFlag = 0; 00023 LAB_vInit(); 00024 stSysTick.attach_us(&vTimerTick, 100000); 00025 while(1) { 00026 if(bTimerFlag){ 00027 LAB_vMain(); 00028 bTimerFlag = 0; 00029 } 00030 } 00031 } 00032
Generated on Sat Jul 16 2022 01:28:41 by
1.7.2