Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <LPC21xx.h>
- #include <stdio.h>
- #include "uart0.h"
- #include "RTC.h"
- #include "EXT.h"
- #define BUZZ 6 //buzzer port p0.6
- void clock(void);
- unsigned counter = 0;
- char data;
- int h[2];
- int main(void)
- {
- uart_init();
- printf("select menu\n");
- ExtInt();
- RTCInit();
- while(1) {}
- }
Advertisement
Add Comment
Please, Sign In to add comment