#include #include #include "common.h" #include "config.h" #include "led.h" static volatile uint8_t led_btnes; static struct LED_DIGS display; void led_init(void) { // Set outputs R_DDR(ANODES_PORT) |= 1<= pwm_counter ? ~(1<= pwm_counter ? ~(1<= pwm_counter ? ~(1< 4) curr_anode = 1; counter = 250; } --counter; ++pwm_counter; }