tommy's portfolio
my website with elliot
we used godaddy to incorporate our idea of creating a website to curing bordem with fun games!!!!
https://random.wpga.tech/
google gemini assessment
google gemini certification
ai exploration unit
ai exploration unit
NHL prediction unit
using math and google sheet comands we can estimate the goals of the remaining matchdays
digital certificate
google calender
a google calender set inside wolfnet so i can easily access our lesson plans
traffic light video (coding)
from Phidget22.Phidget import *
from Phidget22.Devices.DigitalInput import *
from Phidget22.Devices.DigitalOutput import *
import time
redButton = DigitalInput()
redLED = DigitalOutput()
greenButton = DigitalInput()
greenLED = DigitalOutput()
redButton.setHubPort(0)
redButton.setIsHubPortDevice(True)
redLED.setHubPort(1)
redLED.setIsHubPortDevice(True)
greenButton.setHubPort(5)
greenButton.setIsHubPortDevice(True)
greenLED.setHubPort(4)
greenLED.setIsHubPortDevice(True)
redButton.openWaitForAttachment(1000)
redLED.openWaitForAttachment(1000)
greenButton.openWaitForAttachment(1000)
greenLED.openWaitForAttachment(1000)
while True:
if redButton.getState()==1:
for i in range(5):
redLED.setState(True)
time.sleep(0.2)
redLED.setState(False)
time.sleep(0.2)
greenLED.setState(True)
time.sleep(5)
for j in range(5):
redLED.setState(True)
time.sleep(0.2)
redLED.setState(False)
time.sleep(0.2)
time.sleep(0.1)
greenLED.setState(False)
time.sleep(0.1)
redLED.setState(True)