You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
264 B
C

#include <avr/io.h>
#include <util/delay.h>
#include "avr-hd44780/lcd.h"
int main(void){
DDRC |= 1<<0;
DDRC |= 1<<1;
DDRD |= 1<<7;
lcd_init();
lcd_on();
lcd_clear();
lcd_puts("test");
while(1){
PORTC ^= 1<<0;
_delay_ms(1000);
PORTC ^= 1<<1;
}
}