SHARE
TWEET

Untitled

a guest Aug 13th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <avr/io.h>
  2. #include <util/delay.h>
  3. #include <avr/interrupt.h>
  4. #include "LCD/lcd44780.h"
  5. #include "MKUART/mkuart.h"
  6. unsigned int zmienna;
  7.  
  8.  
  9. int main(void)
  10. {
  11.     zmienna =1;
  12.     lcd_init();
  13.     while(1)
  14.     {
  15.     zmienna++;
  16.     _delay_ms(500);
  17.     lcd_locate(0,0);
  18.     lcd_int(zmienna);
  19.     _delay_ms(500);
  20.     }
  21. }
RAW Paste Data
Top