-
Continue reading →: Sense Hat Pictures (Raspberry Pi)After making rainbow displays on the sense hat my son realised that the Raspberry Pi sense hat’s LED display could be used to output art including a creeper from Minecraft. Note: This is inspired by https://magpi.raspberrypi.org/articles/make-a-sense-hat-rainbow-display-for-your-window The sense hat has an 8×8 display of individual LEDs which can be programmed to…
-
Continue reading →: Python and Bluetooth – Part 1: Scanning For Devices And Services (Python)“Track and Trace” has got some attention in recent times here in the UK as the Covid-19 (Coronavirus) lockdown level looks to be relaxed. Part of the “Track and Trace” program is a mobile application that uses low energy bluetooth beaconing to see what other devices running the application have…
-
Continue reading →: AutoTweeting WebLinks (Python)I will hold my hands up here and admit, I am not great at advertising my website on social media. When posting a new blog post it auto generates a link on some social media sites for me, but I rarely ever repost links especially for my older blog posts.…
-
Continue reading →: Learning C++: The Basics Of PointersMy learning adventures in C++ are going quite well and I think I have made notes (via my previous blog posts) on most of the C++ basics, which means it is time to discuss pointers. As I have wrote in my previous blog entries, I’m still finding my feet with…
-
Continue reading →: Raspbian and Raspberry Pi OS (Raspberry Pi)Just a quick blog post about my favourite mini computer, the Raspberry Pi. This morning (Thursday 28th May 2020) the Raspberry Pi Foundation announced the launch of the 8GB Raspberry Pi 4 (official news here: https://www.raspberrypi.org/blog/8gb-raspberry-pi-4-on-sale-now-at-75/) to join the year old 4GB and 2GB Raspberry Pi 4* Alongside the news…
-
Continue reading →: Learning C++: Public, Private and More ClassMy previous blog post introduced creating classes in C++, and I used public. Re-reading that post I realised I should go into a little more detail on public and private. Public and Private The spaces within C++ allow for data to be: public Public is available throughout the program. It…
-
Continue reading →: Learning C++: Introduction To ClassesIn this blog post I am going to take a look at creating classes in C++. This forms part of my learning C++ series of blog posts. A class is a type blueprint, which defines the characteristics and behaviours of all instances of the class. To create a class, the…
-
Continue reading →: Raspberry Pi Sense Hat (Raspberry Pi)The Raspberry Pi is a fantastic computer and the GPIO (General Purpose Input / Output) pins allow for lots of a different hats, or phats (Pi Hats). I have used some of these options in past project (e.g. a temperature project, a countdown display) and installation of the hats is…
-
Continue reading →: Learning C++: Switch StatementsMy previous blog post looked at If, Else and Else If statements which work, however C++ also has a tidier approach called switch statements. In the below example I have defined a character variable called response, initialised with the character ‘y’. I am then taking input and storing this input…
-
Continue reading →: Learning C++: For Loops, If, Else If and Else StatementsIn this C++ blog post I am going to look at For loops, If / Else and Else If statements. For Loops The for loop layout is made up of three parts: for (initialisation; conditional; iteration) { CODE-TO-CARRY_OUT } Initialisation Statement Carried out before the first loop is run and…

