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 //code dérivé du code présenté dans le document 2018-01 247-436 D-0015 M2-S4-TH (powerpoint) 00002 #include "mbed.h" 00003 #include "maClasseToggle.h" 00004 int main() { 00005 unsigned char retour; 00006 DigitalOut monLED(LED1); 00007 maClasseToggle monObjetToggle1; 00008 00009 printf("initialisation\n"); 00010 00011 while(1) { 00012 monObjetToggle1.toggle(); 00013 retour = monObjetToggle1.retourneStatut(); 00014 printf("retour: %d\n", retour); 00015 monLED = retour; 00016 wait(1); 00017 } 00018 }
Generated on Thu Jul 14 2022 08:31:03 by
1.7.2