/* * src/main.c * (c) 2021 Jonas Gunz * License: All rights reserved. */ #include #include #include #include "uart.h" #include "cmd.h" uint8_t t0_ovf_cnt = 0; uint8_t pb0_thresh = 128; ISR(TIMER0_OVF_vect) { cli(); /*TCNT0 = (1<<7);*/ /* Hack-increase Interrupt trigger freq */ t0_ovf_cnt ++; if ( t0_ovf_cnt >= pb0_thresh ) PORTB &= ~(1<