Source Code for Xmas Decoration on GitHub

published: December 1, 2014 — last modified: October 23, 2025

Today I found some time to document the source code for the xmas decoration and push it to a GutHub repository. I added some comments to explain some of the cryptic calculations and added warnings what you should not copy from this code.

The link to the repository is: https://github.com/LuckyResistor/XmasLights

Have a look in the complete project description how to make your own color changing xmas decoration.

More Posts

The 3D Printed Modular Lantern

Posted on 2023-01-17— 3D Printing, Projects

I designed a modular 19th‑century‑style lantern you can 3D print as a candlelight or expand into an LED street‑lamp stand. Read on for my glue‑free assembly, colour‑layer printing tips, and stand options — or jump to the Printables page for downloads and print instructions.

Read this post

Bottle Opener for Elderly People or with Disabilities

Posted on 2021-04-25— Projects

I designed a 3D-printable bottle opener to help seniors and people with limited grip turn 26–30mm plastic caps. The tapered 72-tooth socket adapts ±1mm and the handle has finger notches — print in PETG. Download the STL files and read the full post for print settings and tweaks.

Read this post

Regular Storage Boxes Update

Posted on 2020-12-08— 3D Printing, Projects

I've updated the Regular Storage Boxes set with improved corners and four new boxes, including a 2x4 and three with internal walls and label-ready tops. The designs are optimized for 3D printing with recommended nozzle and layer settings. Visit the project page for downloads and the catalog.

Read this post

Make your Code Safe and Readable with Flags

Posted on 2018-05-06— C++, Improve your Code

I show how a small C++ flags template makes embedded register bitmasks safer and much easier to read. I'll explain why macros and CMSIS-style definitions lead to errors, and walk through clear C++11 examples and a simple driver. Read on to see the implementation and usage.

Read this post

Always-On Project

Posted on 2020-06-05— Common

I recently built 'Always-On', a minimal bidirectional mains-to-Feather bridge combining a power sensor and solid-state relay for safe home-control prototypes. I outline design choices, safe firmware testing without mains, and housing tips. If you're exploring a similar controller, read the full post for a practical starting point.

Read this post

A New Modular CMake Based Toolchain for Feather M0 HAL

Posted on 2019-06-19— Projects

I built a simple, modular CMake-based toolchain for Adafruit Feather M0 boards that reuses Arduino tools while giving full build control. It’s aimed at prototype work and HAL development on macOS and Linux. If you’re curious, read the full post for setup steps and examples.

Read this post