Repository navigation
feat(1mhz): F_CPU-derived timing + divide-elimination + HSV→RGB LUT + 1MHz-safe ISP clock + CPU_SPEED=1MHz - #158
Closed
livingkurt wants to merge 5 commits into
Closed
livingkurt wants to merge 5 commits into
livingkurt wants to merge 5 commits into
Conversation
… 1MHz-safe ISP clock + CPU_SPEED=1MHz Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ion operations and adjusting ISP clock settings
livingkurt
force-pushed
the
enable-1mhz
branch
2 times, most recently
from
June 20, 2026 06:16
0dd77ba to
fe22e0b
Compare
F_CPU-derived micros; divide-free HSV->RGB LUT; recurring Timer alarm with no AVR divide/modulo in the per-tick hot path -- a small slip re-anchors to now so beats stay evenly spaced (smooth on hardware), while a large gap (timer suspended in a long menu) realigns to the period grid so menu cadence is preserved; play the pattern across the one-tick toggle state so the blink timer keeps its beat; Makefile 1MHz (-B10 + CPU_SPEED=1000000L). All 506 CLI tests pass; the 6 toggle/lock tests were re-recorded to the corrected (no dropped-tick) cadence.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com