Skip to content

Instantly share code, notes, and snippets.

View nullstalgia's full-sized avatar
:shipit:

nullstalgia nullstalgia

:shipit:
View GitHub Profile
@nullstalgia
nullstalgia / usbasploader-qmk-atmega328p.md
Created May 22, 2020 03:34
USBaspLoader and QMK on ATmega328P
#include <avr/sleep.h>
#include <avr/wdt.h>
volatile bool wdtFired;
// watchdog interrupt
ISR (WDT_vect)
{
wdt_disable(); // disable watchdog
wdtFired = true;