SE4Binome2024-5

De projets-se.plil.fr
Aller à la navigation Aller à la recherche

git : https://gitea.plil.fr/ktouron/se4-djadja-touron_pico.git

Carte fille clavier "matrice de touches"

Hardware

Reçu carte vierge

Recto de la carte avant soudage des composants
Verso de la carte avant soudage des composants


Carte après soudure des composants

Fichier:Vid test carte.mp4
Photo de la carte avec composants soudés


Software

Allumage de LEDS sur Programmateur AVR

Avant de programmer directement sur le shield, nous avons allumé des LED pour tester la carte.

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(1, HIGH);
  digitalWrite(4, HIGH);
  digitalWrite(7, HIGH);
  digitalWrite(A0, HIGH);
  digitalWrite(A3, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                      // wait for a second
  digitalWrite(1, LOW);
  digitalWrite(4, LOW);
  digitalWrite(7, LOW);
  digitalWrite(A0, LOW);
  digitalWrite(A3, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
}