Finally!!!! I have been meaning to write this post and translate my original weather station into C++. It has taken me a lot longer than I thought, mainly due to many other distractions such as house renovations. Introduction First things…
Background Compiling C/C++ code on the raspberry pi is very slow, I have some code I am writing that compiles in less than 5 seconds on the laptop but can take 30 minutes on the raspberry pi. This is pretty…
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…
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…
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…
I have started re-learning C using the “C Head First Book” after doing it at university a number of years ago and decided to purchase an Ardunio (Well Genunio as I am not in the USA). The first lab in…