Python

Basic Python GPIO GUI example

In this example we will create a gui to switch on and off the LED that we used in the PWM example – Controlling the Brightness of an LED Here is a reminder of the schematics Code Save the following as gpiogui.py [codesyntax lang=”python”] from Tkinter…

Read more

Connect a capacitive touch sensor

In this example we will connect a capacitive sensor to a GPIO pin on our Raspberry PI, when we touch the sensor we will display a message to the user. A practical use may be a touch activated lamp. This is the sensor we used…

Read more

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More