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 "head.h" 00003 00004 Serial pc(USBTX, USBRX); // tx, rx for debug terminal 00005 00006 DigitalOut myled(LED1); 00007 00008 int main() { 00009 00010 myled = 1; 00011 wait(0.2); 00012 myled = 0; 00013 wait(0.2); 00014 00015 unsigned int ID=0; 00016 00017 ID=SIM_SDID; 00018 pc.printf("Kinetis ID = %x \n",ID); 00019 00020 00021 00022 }
Generated on Thu Jul 28 2022 15:15:56 by
1.7.2