Code compiles and runs fine on Arduino. Used to run fine on Autodesk Circuits in simulation. In Tinkercad it gives this error and doesn't run
//www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it. text section exceeds available space in board
Apparently simulation seems to conclude there's a different amount of space available than the hardware has or at least reports that as the error for something else gone wrong under the hood.