Update 'NOTES.md'

This commit is contained in:
gitouche 2023-03-22 11:59:49 +00:00
parent 6fe7b1d769
commit fcf3164cde
1 changed files with 7 additions and 5 deletions

View File

@ -32,19 +32,21 @@ RPI / GPIO :
<https://www.magdiblog.fr/gpio/gpio-entree-en-matiere/>
### RPI1 et RPI2
Dans le fichier /boot/cmdline.txt :
Dans le fichier `/boot/cmdline.txt` :
- supprimer :
```
console=serial0,115200
```
- ajouter :
```
enable_uart=1
```
### RPI3 et RPI4
Dans le fichier /boot/config.txt, ajouter :
Dans le fichier `/boot/config.txt`, ajouter :
```
dtoverlay=pi3-miniuart-bt
```
Dans le fichier /boot/cmdline.txt, supprimer :
Dans le fichier `/boot/cmdline.txt`, supprimer :
```
console=serial0,115200
```