diff --git a/ledcontroller.c b/ledcontroller.c index 72324f2..872fc1d 100644 --- a/ledcontroller.c +++ b/ledcontroller.c @@ -159,7 +159,7 @@ static void write_no_command(uint16_t data) } -void ledcontroller_turn_all_on(void) +void led_turn_all_on(void) { write_data(0xffff, 2); @@ -171,7 +171,7 @@ void ledcontroller_turn_all_on(void) } -void ledcontroller_turn_all_off(void) +void led_turn_all_off(void) { write_data(0x0000, 2); @@ -183,7 +183,7 @@ void ledcontroller_turn_all_off(void) } -void ledcontroller_init(void) +void led_init(void) { PORTC &= ~(1< -int main(void) -{ - - timer_init(); - //rtc_init(0); - //spi_slave_init(); - ledcontroller_init(); - sei(); - //lcd_init(); +int main(void) { + timer_init(); + //rtc_init(0); + //spi_slave_init(); + led_init(); + sei(); + //lcd_init(); - DDRC |= (1<