lewisdale.dev

Posts from May 2014

Raspberry Pi & Ultrasonic Module - Calculating Distance in C

23/05/2014

In this brief article I will be posting the C code I used to measure the distance between the Raspberry Pi and any object in front of the HC-SR04 module. I used this article to show me how to wire up the ultrasonic module using a breadboard. You will also...

Read more

Solving 2048 Using A* Search

23/05/2014

One of my recent projects has been to attempt to solve the game 2048 using A* Search - it all started from a bet with my girlfriend about who could get the highest score, and I decided I’d “cheat” and just get my computer to do it for me. It didn’t work,...

Read more