I've learned that my code for this (and a subsequent project) was apparently sub-optimal for microcontroller programming. Despite being conscious of the scope and duration of my variables, it seemed that iteratively creating and destroying variables in a loop was somehow running the UNO out of memory. That's why my Tetris game (and scrolling Marquee, now fixed) would suddenly stop after just a few iterations.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.