Lloyd Rochester

Dad. Husband. Software. Hardware. Radio. Guitar.

Biography

I’m a Husband and Father of 2 Beautiful Girls who lives in Colorado. My background is in Computer Engineering and I’m interested in all things involving Software and Hardware. I’ve always geeked out on radio, and what I mean by that is anything that wirelessly sends an RF signal. One of my hobbies I’d also like to blog about is Guitar. More to come soon. The opinions in this blog are my own and don’t represent that of my current, or past employers.

Recent Posts

Stack Protection with a Canary

2021-06-11 c arm assembly

Buffer overflows can be detected by inserting a canary into a function. These canaries are inserted when a function’s stack frame is created. ... Read More

Finding Libriaries and Headers for C Programs in Unix

2021-05-27 c

Need to list the installed libraries on a Unix system? Want to use a library in C and don’t know the linker flags to use? Need to find where ... Read More

Using libgpiod to detect input events

2021-05-17 hardware gpio

One of the most fundamental requirements for GPIO is the ability to execute user defined code when an external event has happened. This is typically ... Read More

GPIO Input with libgpiod

2021-05-10 hardware raspberry-pi

We can use the libgpiod library to configure a GPIO line as input and read it’s value. We’ll create a switch circuit so we can test the ... Read More

Blinking and LED with libgpiod

2021-05-03 hardware raspberry-pi

In the previous post we introduced libgpiod. In this post we’ll use the command line tools to blink and LED. Finally, we’ll write some C ... Read More

The new GPIO Interface on the Rasberry PI: libgpiod

2021-05-02 hardware gpio

The GPIO Sysfs Interface is deprecated. The deprecated Sysfs would interact with GPIO using the /sys/class/gpio pseudo-filesytem. The Application ... Read More

Raspberry Pi SPI Explained

2021-04-21 hardware raspberry-pi

This post attempts to provide some finer details when using SPI on Raspberry Pi as it pertains to using the Chip Select pins and multiple SPI ... Read More

Implementing a Timeout for a read in C

2021-04-12 c

Need to wait a specified amount of time for a read call to return before giving up and continuing on? In Unix when we read from a file we can have a ... Read More