Interrupts And Timers
In this post, we'll take a look at interrupts and timers in microcontrollers. I will show you how to implement it with an Arduino and with an ESP8266 or ESP32. When an interrupt is triggered, the microcontroller will pause what it’s...
Watchdog Timer
In this post, we'll take a look at watchdog timers in microcontrollers. I will show you how to implement it with an Arduino and with an ESP8266 or ESP32. ...
ESP32 FreeRTOS Tutorial
Recently, I was using FreeRTOS on an ESP32, so I thought I’d make a post documenting it and showing you how to use it. FreeRTOS is an open-source real-time operating system used for embedded systems...
Wireguard Forwarding/WeakHostSend enabled Error Fix
I started using Wireguard as a VPN to connect into my home network some time ago. In fact I wrote about it in this post about docker containers I run on my home server. It worked fine on my smartphone...
C# Local Functions
In this code snippet, we'll take a look at local functions in C#.Local functions can be declared and used only within another function. This can be useful for organizing your code. For example, if a function gets too long, you...
Calling The Command Line In C# With CliWrap
In this code snippet, we will learn how to call the command line in C#. We will be using a Nuget package called CliWrap which makes it easier compared to using the System.Diagnostics.Process class. But I will also show you...
Fullstack Serverless Blazor App With Azure Functions
In this post, I will show you how to create a Blazor C# WebAssembly app with a serverless backend utilizing Azure Functions. The data will be persisted to Azure Tables, Blobs and Files Shares in the Azure Storage Account which...
Using WebSockets In C#
In this code snippet, we will learn how to use WebSockets in C#. WebSockets allow you to establish a bi-directional(full-duplex) communication channel over HTTP between two devices. This type of connection is long-lived and suitable for real-time data such as...
Azure Function Durable Functions
In this code snippet, we will look at Durable Azure Functions. Azure functions are stateless by default. But we can add state by using the Durable Functions extension. This allows you to implement common patterns such as Function chaining, Fan-out/fan-in...
Working With Streams In C#
In this code snippet, we will learn about streams in C#. Streams provide a generic view of a sequence of bytes. The Stream class is an abstract class that defines all the necessary things for any inheriting stream to implement...









