Also for completeness, I had Serial.println statements in the code to verify that the code was getting uploaded properly. I also tried two different computers both running Windows 11 as I continued to scratch my head trying to figure out what went wrong.