This project is intended to run on the Electrodragon.com AVR128DB64 development board. https://www.electrodragon.com/product/avr128db64-mini-develpment-board-avr128/
using Spence Konde’s DxCcre for the Arduino IDE. https://github.com/SpenceKonde/DxCore
LED active high is on PC6
Push button switch active low is on PC7
Operation: LED blinks at 1000 ms on, 1000 ms off. Prints diagnostic message to console with every LED state change. Pressing and holding the push button causes the LED to freeze (remain in current state) while button is in down position.
Source code for this project can be found on GitHub: https://github.com/microPaul/AVR-DB-Blink-Switch-Demo