Off by 7

Was trying to figure out why only four lines were printed on the display as I was writing the driver this morning, took me a whole hour, re-read the datasheet like ten times only to realize that I made the hexadecimal rookie mistake. I was printing 0x01instead of 0xFF and…

Got to display to turn on!

Finally, I've managed to get the display to turn on. Only took about five days. I would have never imagined that just to turn the display on, you'd need to know so much. Then again, it's my first ever driver for hardware. I'…

I miss errors

Today I made a bit of progress with the display driver I have been attempting to write. Got a lot of the issues with the Zig version 0.14, mostly a skill issue on my part as I did not know how to fetch an untagged version of the dependency.…

Encoding for fun

This morning I finally finished the encoding part of the base 64 encoder that I was writing just for fun. It was a lot of fun, it was the first time since I have been programming that I got to do some bit manipulations like shifts and working with hexadecimals.…

Never been so excited to see blinking LED's

Took a bit of time to setup but I've successfully run my first embedded program in Zig. It's a simple program that blinks the LED's but I was pumping my fists in the air for a good five seconds. The smallest things can give…

Embedded programming time

This is something I've always wanted to do, but never did anything about. Probably because did not know where to start. Recently I came across Micro Zig which was the push I needed to finally commit to it. Mainly because it narrowed the hardware for me. I'…

One step at a time

I've written about this before. I do have the tendency to focus on the end result from the very beginning. This is fine in most scenarios, except those where you don't exactly know how to get there. Most of the times it happens when I'…