2025-05-17 (Sa) QuarterRoundWS2812BArray Programming finished

The last critical task I wanted to tackle was programming the two outermost rings. I wanted the rings to act as two circles. I created three functions. The first function would clear the rings. The second and third accepted a variable to set a ring to that color. I tested the three by assigning them to act periodically. I activated the clearing function every few seconds, and the rest of the time, I turned one ring or the other to pseudo-random colors. There was some minor debugging, and they worked. I programmed the four existing modes to exhibit different bezel behavior. I renamed them "Bezel," which made more sense than "Mode." The four options were no bezel activity, flash every hour, flash every minute, and toggle the rings every second, which I captured in the picture below.

I cleaned up old code that I had stopped using and some that exceeded FastLED's parameters. I revised the webpage to show more accurate buttons and added one to adjust the time zone. I made the bezel and time zone variables non-volatile, so cutting the power does not erase them.
Bezel oscillates at the same speed as a grandmother clock

The rest of the posts for this project have been arranged by date.
First time here?

Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6
Completed projects from year 7
Completed projects from year 8
Completed projects from year 9
Completed projects from year 10
Completed projects from year 11

Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com

This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.

All information on this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property, or similar, is the responsibility of those involved in the replication.

All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by  Brian McEvoy, cannot be used to claim property or assets.

Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.

This blog, including pictures and text, is copyright to Brian McEvoy.
2025-05-12

Comments