So easy to trigger Rust programmers 😂
Rust is a good language, but C is what you use for optimal performance on bare metal. With great power comes great responsibility.
Built a clock where a tiny virtual CPU does the counting ⏱️
Every second it runs a program in virtual RAM: LDA → ADD 1 → STA → CMP 60, then carries into minutes & hours. The digits are just what's in its RAM.
ESP32 timer = the tick, NTP = start time.
Built a clock where a tiny virtual CPU does the counting ⏱️
Every second it runs a program in virtual RAM: LDA → ADD 1 → STA → CMP 60, then carries into minutes & hours. The digits are just what's in its RAM.
ESP32 timer = the tick, NTP = start time.
A step signal with finite transitions can be represented as a sum of unit step functions.
This can model digital signals, but not every digital signal can be represented by a finite sum of unit steps.
As a continuation of the previous project, I implemented Tetris and added a timer-based PWM signal to drive a buzzer, making the game a bit more exciting.