I took my test code from my previous PI post and made a few changes to make things easier to read and use. This tutorial shows the functions, how to use them, and then demonstrates how to add functions to BASH memory so that they can be called quickly and easily without clogging up your scripts. Continue reading
Reading and Writing to the RasPi GPIO using BASH
I’ve finally taken some time to play with my Pi after getting some of the peripherals to work. I struggled getting the sound to work, but finally found a post that described what to do. I’d like to point out that I’m still using Debian Squeeze. That might be where some of my issues stem from.
Raspberrypi.org has the latest downloads, and many of the bugs that I deal with are probably solved by now in newer distributions.
What I have done is taken the time to play with the GPIO port using a Bash script. My Bash skills are not top notch, but with a little searching I can usually get things done. Here’s what I discovered using my simple Bash script. Continue reading