Tag C

Raspberry Pi 20×4 LCD i2c C++ Driver

Introduction I have written a C++ driver for the common 20×4 LCD using i2c on the Raspberry Pi. These LCDs are based on HD47780. Most examples I found are using the pins directly and not through i2c. I2c uses a lot…

Char Pointers in C

The Code: I decided to write a quick bit of code to reinforce my understanding of char pointers in C; especially Char** as I recently confused myself. Firstly lets get straight to the code as it is the best way…

Weather Station using Raspberry Pi & Arduino

Introduction This post will be extensive so will be separated into 3 parts to make it easier to write and read. I have spent the last couple of months developing a weather station; both for the fun of it and…