Created
August 17, 2025 19:58
-
-
Save ypelletier/ce59893889ef04618546f8fd37fcfcdb to your computer and use it in GitHub Desktop.
Court sketch pour tester les cartes TI Launchpad avec l'IDE Arduino
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*************************************************************************** | |
| Court sketch pour tester les cartes TI Launchpad avec l'IDE Arduino | |
| Cllignotement des deux LEDs embarquées (une verte, une rouge) | |
| Les cartes de TI ont été installés: | |
| https://github.com/Andy4495/TI_Platform_Cores_For_Arduino | |
| L'article détaillé est sur mon blog: | |
| https://electroniqueamateur.blogspot.com/2025/08/programmer-une-carte-ti-launchpad-avec.html | |
| ***************************************************************************/ | |
| void setup() { | |
| pinMode(RED_LED, OUTPUT); | |
| pinMode(GREEN_LED, OUTPUT); | |
| } | |
| void loop() { | |
| digitalWrite(RED_LED, HIGH); | |
| delay(1000); | |
| digitalWrite(RED_LED, LOW); | |
| delay(1000); | |
| digitalWrite(GREEN_LED, HIGH); | |
| delay(1000); | |
| digitalWrite(GREEN_LED, LOW); | |
| delay(1000); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment