Skip to content

Instantly share code, notes, and snippets.

@ypelletier
Created August 17, 2025 19:58
Show Gist options
  • Select an option

  • Save ypelletier/ce59893889ef04618546f8fd37fcfcdb to your computer and use it in GitHub Desktop.

Select an option

Save ypelletier/ce59893889ef04618546f8fd37fcfcdb to your computer and use it in GitHub Desktop.
Court sketch pour tester les cartes TI Launchpad avec l'IDE Arduino
/***************************************************************************
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