130 likes | 147 Views
http://bit.ly/CASLondonRaspPi. KS2/3 Raspberry Pi for Beginners. Nic Hughes & Steve Richards. http://bit.ly/CASLondonRaspPi. Plugging it all in…. Username: pi Password: raspberry. http://bit.ly/CASLondonRaspPi. Using a PiStop with Scratch. gpioserveron config17output gpio17on gpio17off.
E N D
http://bit.ly/CASLondonRaspPi KS2/3 Raspberry Pi for Beginners Nic Hughes & Steve Richards
http://bit.ly/CASLondonRaspPi Plugging it all in…. Username: pi Password: raspberry
http://bit.ly/CASLondonRaspPi Using a PiStop with Scratch gpioserveron config17output gpio17on gpio17off Remember you can double click a block to make it run. You must run the top two blocks FIRST.
Using a PiStop with Pyton import RPi.GPIO as GPIO - Import GPIO library import time - Import 'time' library. Allows us to use 'sleep' GPIO.setmode(GPIO.BCM) - Use board pin numbering GPIO.setup(17, GPIO.OUT) - Set Pin 17 to an output GPIO.ouput(17, 1) - Turn Pin 17 On. GPIO.ouput(17, 0) - Turn Pin 17 Off. time.sleep(1) - Wait one second.
http://bit.ly/CASLondonRaspPi Can you make a simple traffic light sequence?
http://bit.ly/CASLondonRaspPi Using a SenseHat with Scratch
Using a SenseHat with Python https://www.raspberrypi.org/learning/getting-started-with-the-sense-hat/ Starter activity.
Links to more information. http://bit.ly/CASLondonRaspPi Nicholas Hughes - @duck_star Steve Richards - @mr_s_richards Raspberry Pi Resources - https://www.raspberrypi.org/resources/ http://www.4tronix.co.uk/store/ https://astro-pi.org http://pinet.org.uk/