I finished the 100daystooffload challenge!

This post marks a final piece in the #100daystooffload challenge I have been participating in for a past three and a half months. Let's check again what the challenge guidelines are: This needs to be done on a personal blog, not a corporate blog. If you don’t have a personal blo…

Vim increment in git rebase

Accidentally stumbled upon a hidden vim feature. The normal mode key shortcuts responsible for increasing the number, Ctrl+a (increment) and for decreasing the number following the cursor, Ctrl+x (decrement) do something different during the interactive rebase editor. Watch for y…

A cheap 40-pin flat cable fail

I have bought a handful of 40 pin IDC connectors for a flat cable. I wanted to use them on the cheap, colorful, no-datasheet 40-pin flat cable bought a long ago from Ebay that I had lying around. The idea was to use it to extend the Raspberry 40-pin header with a cable to tinker …

Resistors on the DIN rail

Continuing my, now semi-regular work on the cabinet wiring, I have found myself in a curious situation. The datasheet for the product contained the following schematic: The schematic demonstrates the recommended wiring between the controller, in this instance a PLC and the devic…

I converted my blog to zola!

Today, precisely one year ago, was the day was I last time in my previous job. For this anniversary I managed to convert my blog entirely from the Sapper based on Svelte to zola. I have written about zola a little bit in this post. Everything I touch on zola surprises me in a pos…

ModbusRTU for TouchBerry 10 pt.3

This post is a part of a series about the TouchBerry ModbusRTU autoflow issue and how have I resolved it. Other posts of the series can be found under the touchberry tag. Note that newer posts might contain more recent information. I've spent past few days fighting two things: he…

Upgrading wiringpi on Raspberry Pi 4

I have had a problem with the gpio command on Raspberry Pi 4. Checking it's version with gpio -v produced the following output: gpio version: 2.50 Copyright (c) 2012-2018 Gordon Henderson This is free software with ABSOLUTELY NO WARRANTY. For details type: gpio -warranty Raspber…