Ligne 14 : |
Ligne 14 : |
| ls -l /sys/class/gpio</nowiki> | | ls -l /sys/class/gpio</nowiki> |
| | | |
− | {{ADFImage|RASP-PiTFT-PLUS-retroeclairage-00.png|480px}} | + | {{ADFImage|RASP-PiTFT-PLUS-retroeclairage-00.png|640px}} |
| | | |
| Once you verify that you see GPIO #508, then you can set it to an output, this will turn off the display since it will output 0 by default | | Once you verify that you see GPIO #508, then you can set it to an output, this will turn off the display since it will output 0 by default |
Ligne 28 : |
Ligne 28 : |
| <nowiki>sudo sh -c "echo '0' > /sys/class/gpio/gpio508/value"</nowiki> | | <nowiki>sudo sh -c "echo '0' > /sys/class/gpio/gpio508/value"</nowiki> |
| | | |
− | {{ADFImage|RASP-PiTFT-PLUS-retroeclairage-01.png|480px}} | + | {{ADFImage|RASP-PiTFT-PLUS-retroeclairage-01.png|640px}} |
| | | |
| == GPIO #18: Contrôler la luminosité == | | == GPIO #18: Contrôler la luminosité == |
Ligne 48 : |
Ligne 48 : |
| gpio -g pwm 18 0</nowiki> | | gpio -g pwm 18 0</nowiki> |
| | | |
− | {{ADFImage|RASP-PiTFT-PLUS-retroeclairage-02.png|480px}} | + | {{ADFImage|RASP-PiTFT-PLUS-retroeclairage-02.png|640px}} |
| | | |
| Try other numbers, from 0 (off) to 1023 (all the way on)! | | Try other numbers, from 0 (off) to 1023 (all the way on)! |
| + | |
| {{RASP-PiTFT-PLUS-TRAILER}} | | {{RASP-PiTFT-PLUS-TRAILER}} |