Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
documentation:informatique:raspberrypi:infrared:index [2022/09/15 20:55] – [PRONTO TO LIRC CONF FILE] f1sls | documentation:informatique:raspberrypi:infrared:index [2022/09/16 18:28] (Version actuelle) – [LIRC] f1sls | ||
---|---|---|---|
Ligne 38: | Ligne 38: | ||
=== Add the lines below to the file === | === Add the lines below to the file === | ||
<WRAP left round important 30%> | <WRAP left round important 30%> | ||
- | useless | + | Useless! |
- | </ | + | |
<code bash> | <code bash> | ||
lirc_dev | lirc_dev | ||
Ligne 46: | Ligne 44: | ||
</ | </ | ||
// gpio_out_pin parameter points to the pin controlling the IR LED// | // gpio_out_pin parameter points to the pin controlling the IR LED// | ||
+ | |||
+ | </ | ||
+ | |||
=== Edit '/ | === Edit '/ | ||
Ligne 105: | Ligne 106: | ||
</ | </ | ||
Input format: KEY_NAME: | Input format: KEY_NAME: | ||
+ | |||
+ | ===== PIGPIO ===== | ||
+ | <code bash> | ||
+ | wget https:// | ||
+ | unzip master.zip | ||
+ | cd pigpio-master | ||
+ | make | ||
+ | sudo make install | ||
+ | </ | ||
+ | |||
+ | <WRAP left round info 60%> | ||
+ | If the Python part of the install fails it may be because you need the setup tools. | ||
+ | <code bash> | ||
+ | sudo apt install python-setuptools python3-setuptools | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==== To start the pigpio daemon ==== | ||
+ | <code bash> | ||
+ | |||
+ | ==== To stop the pigpio daemon ==== | ||
+ | <code bash> | ||
+ | |||
+ | ==== github ==== | ||
+ | <code bash>git clone https:// | ||
+ | |||
+ | ==== Raspbian (raspberrypi.org image) ==== | ||
+ | <code bash> | ||
+ | sudo apt-get update | ||
+ | sudo apt-get install pigpio python-pigpio python3-pigpio | ||
+ | </ | ||
+ | |||
+ | <WRAP left round info 60%> | ||
+ | This may not be the most recent version. | ||
+ | </ | ||
+ | |||
+ | ===== LINKS ===== | ||
+ | * https:// | ||
+ | * https:// | ||