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.
maClasseToggle.h
00001 //#include "mbed.h" 00002 class maClasseToggle 00003 { 00004 public: 00005 maClasseToggle(void) 00006 { 00007 statut = 0; 00008 } 00009 void toggle(void) 00010 { 00011 if (statut == 0) 00012 { 00013 statut = 1; 00014 } 00015 else 00016 { 00017 statut = 0; 00018 } 00019 } 00020 unsigned char retourneStatut(void) 00021 { 00022 return statut; 00023 } 00024 private: 00025 unsigned char statut; 00026 }; 00027 00028
Generated on Thu Jul 14 2022 08:31:03 by
1.7.2