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.
Dependencies: ThingerWIZnetClient mbed
main.cpp
00001 #include "mbed.h" 00002 00003 DigitalOut myled(LED1); 00004 Serial pc(SERIAL_TX, SERIAL_RX); 00005 00006 int count_blink = 0; 00007 00008 int main() { 00009 while(1) { 00010 myled = 1; 00011 //pc.printf("myled = 1\n"); 00012 wait(0.2); 00013 myled = 0; 00014 //pc.printf("myled = 0\n"); 00015 wait(0.2); 00016 count_blink++; 00017 pc.printf("The number of blink = %d\n", count_blink); 00018 } 00019 }
Generated on Mon Sep 26 2022 07:40:26 by
1.7.2