Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <avr/io.h>
- #include "lcd.h"
- int main(void)
- {
- DDRD = _BV(4);
- TCCR1A = _BV(COM1B1) | _BV(COM1B0) | _BV(WGM10);
- TCCR1B = _BV(WGM12) | _BV(CS11);
- OCR1B = 250;
- lcd_init(LCD_DISP_ON);
- lcd_clrscr();
- lcd_puts("Hello World");
- while (1)
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement