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: mbed
Revision 28:9b76214fb392, committed 2020-09-08
- Comitter:
- pelissier_rascol
- Date:
- Tue Sep 08 14:17:58 2020 +0000
- Parent:
- 27:759f79bf1765
- Child:
- 29:f2c9d4570902
- Commit message:
- version 1 : led bleue avec SW2
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Sep 08 14:08:21 2020 +0000
+++ b/main.cpp Tue Sep 08 14:17:58 2020 +0000
@@ -7,11 +7,11 @@
while(1) { // c'est la boucle
if (BP2==1) // si le BP2 est appuyé
{
- Led_bleue=0; // on éteint la led bleue
+ Led_bleue=1; // on éteint la led bleue
}
else // sinon
{
- Led_bleue=1; // on allume la led bleue
+ Led_bleue=0; // on allume la led bleue
}
} // fin boucle infinie
} // fin programme