Search
You can find the results of your search below.
Fulltext results:
- linux
- === Linux ====== ===== Base ===== edit /etc/locale.gen and run locale-gen <code> apt-get install wiringpi python-pip # test GPIO gpio readall </code> ... /code> * [[http://picamera.readthedocs.io/en/release-1.10/recipes1.html|picamera]] * [[http://pkl... amera as normal USB camera ==== add to /etc/modules <code> echo bcm2835-v4l2 >> /etc/modules-load.d/
- gpio
- 17 <code> gpio -g mode 17 out gpio -g write 17 1 sleep 2 gpio -g write 17 0 </code> python <code> import RPi.GPIO as GPIO import time GPIO.cleanup() GPIO.setmode(GPIO.BOARD) channel=11 GPIO.setup(channel, GPIO.OUT) while True: GPIO.output(channel, GPIO.HIGH) time.sleep(1) GPIO.output(channel, GPIO.LOW) time.