When starting a new Arduino project, one typically starts with a blank .ino file. Over the past years I have identified software patterns that appear across almost all of my Arduino projects. To better support those, I have created an […]
The ShiftRegister74HC595 Arduino Library simplifies shift registers usage. It allows you to set single pins of your shift register either high or low, just like normal Arduino pins. It thereby removes the overhead of shifting out bytes that were created […]
Back in January this year I was commuting to work and routinely opened the daily coding problem email: “Good morning! Here’s your coding interview problem for today. […] Assume you have access to a function toss_biased() which returns 0 or 1 with […]
Learning piano pieces can take some time. For some piano players a difficult aspect of it is reading the notes. If one gets used to memorizing them, or (even worse) always writes the corresponding letter above them (e.g. “c” or […]
In this article we define and publish the exact pre-flop probabilities for each possible combination of two hands in Textas Hold’em poker. An online tool at tools.timodenk.com/poker-odds-pre-flop makes the data visually accessible.
In late 2017, small groups of our class were given the task to delve into the assembly language and write a program for the 8051 microcontroller, as part of the Low-Level Programming lecture. This post documents the project MOV is Turing-Complete: 4-bit […]
This post functions as a quick development update on the Math to Image Conversion Bot (on Telegram), the TeX math to image conversion tool (at tools.timodenk.com), and the API that serves them both. The objective is to convert TeX math-code into images.
The ShiftRegister PWM Library enables usage of shift register pins as pulse-width modulated (PWM) pins. Instead of setting them to either high or low, the library lets the user set them to up to 256 PWM-levels. This post serves as […]
The digit span test is a way of measuring the storage capacity of a person’s working memory: A testperson is visually or auditorily exposed to a sequence of digits one after the other. Right afterwards, the test subject has to […]
Cubic spline interpolation is a mathematical method commonly used to construct new points within the boundaries of a set of known points. These new points are function values of an interpolation function (referred to as spline), which itself consists of […]