Skip to content

Instantly share code, notes, and snippets.

View 15nmcgoldrick's full-sized avatar

Niamh McGoldrick 15nmcgoldrick

View GitHub Profile
@ethanshine1234
ethanshine1234 / open.py
Last active October 25, 2016 09:46
STJLOL-ES-open project
from time import sleep
lesso = ['lesson 1', 'lesson 2', 'lesson 3', 'lesson 4', 'lesson 5', 'lesson 6', 'end task']
def lesson1():
print("Here you will learn the basics")
sleep(1)
print("print will allow the computer to say stuff")
sleep(1)
print("Here is an example: print(\"Hello\")")
@dobrienSTJ
dobrienSTJ / s.py
Last active March 7, 2017 10:38
IR Rangefinder Rover
#Only in PYTHON2.7
import RPi.GPIO as GPIO #GPIO Libraries
from time import sleep #Sleep Functions
import readchar #keyboards
GPIO.setwarnings(False)#Blocks error warnings
GPIO.setmode(GPIO.BCM) #Setting Up
GPIO.setup(23, GPIO.OUT) #back right
GPIO.setup(24, GPIO.OUT) #front right