You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
194 B

  1. #!/bin/bash
  2. # Allo-GG
  3. # Ouverture de la porte
  4. # Port GPIO 4 OFF (port physique 7)
  5. gpio -g write 4 0
  6. # Temporisation de 4 secondes
  7. sleep 4
  8. # Port GPIO 4 ON (port physique 7)
  9. gpio -g write 4 1