From the course: Raspberry Pi: GPIO

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Introduction to programming the Raspberry Pi GPIO

Introduction to programming the Raspberry Pi GPIO

From the course: Raspberry Pi: GPIO

Start my 1-month free trial

Introduction to programming the Raspberry Pi GPIO

- [Instructor] So far in this class we've explored communication protocols in GPIO hardware, such as I squared C and SPI and 1-Wire. But none of these hardware tools do anything without instructions and that's the job of software. Up until now, I've used the Python programming language, but Python is one of the many languages available for the Raspberry Pi. Since this is a course about GPIO, I'm going to compare the most common languages you'll encounter when programming the Raspberry Pi GPIO. To help you compare and understand the different languages I've created one circuit that I'll use for all software examples. When programmed correctly, the circuit will count to 15 in binary. When I push the button, the LEDs will all light up until I release the button. When I release the button, the count will restart at zero. I've included a handout in the exercise files that shows how to build the circuit. It's a simple project…

Contents