416 links
  • Johndescs's mini-recording
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
  • thumbnail
    Raspberry Pi Camera: turn off the LED – Pygmalion

    Envie d'éteindre la petite LED de la caméra d'un Raspberry Pi ? On trouve toutes sortes de chose, moi un coup de echo dans un dev ça me va bien :P
    FTR:
    sudo sh -c 'echo "32" > /sys/class/gpio/export'
    sudo sh -c 'echo "out" > /sys/class/gpio/gpio32/direction'
    Turn the LED off:
    sudo sh -c 'echo "0" > /sys/class/gpio/gpio32/value'
    Turn the LED on:
    sudo sh -c 'echo "1" > /sys/class/gpio/gpio32/value'

    Fonctionne sur un Pi2B aussi.

    January 13, 2016 at 16:41:41 GMT+1 - permalink -
    QRCode
    - http://pygmalion.nitri.de/raspberry-pi-camera-turn-off-the-led-551.html
    adminsys Linux hardware
Links per page: 20 50 100
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation