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
From the course: Raspberry Pi: GPIO
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
(Locked)
Introduction to programming the Raspberry Pi GPIO3m 37s
-
(Locked)
Python and GPIO Zero control of GPIO5m 23s
-
(Locked)
Python and RPi.GPIO control of GPIO4m 51s
-
(Locked)
Scratch control of GPIO8m 2s
-
(Locked)
Bash control of GPIO8m 35s
-
(Locked)
Node-RED control of GPIO8m 13s
-
(Locked)
C control of GPIO6m 28s
-
(Locked)
Java control of GPIO8m 7s
-
(Locked)
Wolfram control of GPIO3m 59s
-
(Locked)
Binary and bitwise math8m 34s
-
(Locked)
-
-