1 changed files with 15 additions and 3 deletions
@ -1,4 +1,16 @@ |
|||||||
### Projet python3 pour raspberry pi : |
# Projet python3 pour raspberry pi |
||||||
|
|
||||||
* Pour forcer la GPIO4 au démarrage, mettre la ligne suivante dans /boot/config.txt\ |
#### Prérequis : |
||||||
`gpio=4=op,dh` |
|
||||||
|
Sur une image fraîchement installée de RPI OS, cloner le dépôt (en ssh ou https) avec : |
||||||
|
|
||||||
|
`git clone ssh://git@gitea.christophe-scaya.fr:222/scayac/Gestion-sonnerie-ICS.git` |
||||||
|
|
||||||
|
ou |
||||||
|
|
||||||
|
`git clone https://gitea.christophe-scaya.fr/scayac/Gestion-sonnerie-ICS.git` |
||||||
|
|
||||||
|
Pour forcer la GPIO4 au démarrage, mettre la ligne suivante dans /boot/config.txt\ |
||||||
|
`gpio=4=op,dh` |
||||||
|
|
||||||
|
Editer les tâches cron pour exécuter le fichier `get_dates.py` et le fichier `verif_sonnerie.py` (toutes les minutes) |
||||||
Loading…
Reference in new issue