/
BERRYCLIP ADD-ON BOARDS

BERRYCLIP ADD-ON BOARDS


https://bitbucket.org/MattHawkinsUK/rpispy-berryclip/downloads/BerryClip%20User%20Guide.pdf

https://bitbucket.org/MattHawkinsUK/rpispy-berryclip/get/master.tar.gz

LED on and off
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)

GPIO.setup(11,GPIO.OUT)

print "LED on"
GPIO.output(11,GPIO.HIGH)

time.sleep(1)
print "LED off"
GPIO.output(11,GPIO.LOW)

Output:

LED 1 Pin 07 GPIO4     - -  RED

LED 2 Pin 11 GPIO17   - - RED

LED 3 Pin 15 GPIO22   - -  Yellow

LED 4 Pin 19 GPIO10   - - Yellow 

LED 5 Pin 21      GPIO9     - - Green

LED 6 Pin 23      GPIO11   - - Green

Buzzer Pin 24 GPIO8


Input:

Switch Pin 26 GPIO7

Related content

Scratch GPIO
Scratch GPIO
More like this
GPIO: 5V 2-Channel Relay Module
GPIO: 5V 2-Channel Relay Module
More like this
LED blinking at boot up
LED blinking at boot up
More like this
2- a personal module
2- a personal module
More like this
Marvell 88E6190 11 Port Ethernet Switch
Marvell 88E6190 11 Port Ethernet Switch
More like this
1- Switching Products, Icons, Visio stencils and images
1- Switching Products, Icons, Visio stencils and images
More like this