My Account

Wish List (0)

RyanTeck Traffic HAT RyanTeck Traffic HAT Feed


in RyanTeck, RyanTeck Traffic HAT on

Blinking an LED in python has become really easy due to the new GPIO Zero library. There's a few different ways. Lets begin by just turning the amber LED on. Open up your favourite python editor and type in the following to turn it on. from gpiozero import LED amber = LED(23) amber.on() And then try "amber.off()" to turn it off. We can make the LED now blink by adding the following code at...

0 Comments

in RyanTeck, RyanTeck Traffic HAT on

Following on from the previous tutorial of blinking an LED using GPIO Zero we're going to expand into creating a traffic light program. However instead of using the separate modules for the LED And buzzer there is a neater way that we can do it using the TrafficHAT Add-on function. Begin by adding the following code to setup the TrafficHAT replacing Ryan Walmsley with your name. #TrafficHAT Program #TrafficLight By Ryan Walmsley from gpiozero...

0 Comments

in RyanTeck, RyanTeck Traffic HAT on

The TrafficHAT is an Add-on board for the Raspberry Pi designed to help teach Basic Programming & Soldering. The Add-On meets the requirements of a HAT Add-On for the Raspberry Pi and is compatible with all models that have the 40 Way Pin header format. (A+, B+ & Pi 2s) Python Tutorials GPIO Zero GPIO Zero is the new method of interfacing with LEDS, Buttons...

0 Comments

The product is currently Out-of-Stock. Enter your email address below and we will notify you as soon as the product is available.