maygapixel

Untitled

Dec 16th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. #include <LPC21xx.h>
  2. #include <stdio.h>
  3. #include "uart0.h"
  4. #include "RTC.h"
  5. #include "EXT.h"
  6. #define BUZZ 6    //buzzer port p0.6
  7. void clock(void);
  8. unsigned counter = 0;
  9. char data;
  10. int h[2];
  11. int main(void)
  12. {                                                                  
  13.     uart_init();
  14.     printf("select menu\n");   
  15.     ExtInt();    
  16.     RTCInit();
  17. while(1) {}
  18. }
Advertisement
Add Comment
Please, Sign In to add comment