Embedded Systems Tutorial
Basic Embedded C Programs in PIC16F877A,ATMEGA32L,ARM(LPC2129/38)....and simple projects
Labels
ARM7(LPC2129/38)
ATMEGA32L
PIC16F877A
Simple Projects
Thursday, 24 September 2015
USART ASYNCHRONOUS TRANSMITTER (PIC16F877A)
#include<pic.h>
void main()
{
TRISC=0X80;
;
TXSTA=0X24;
RCSTA=0X90;
SPBRG=0X19;
TXREG='A';
while(TXIF==0);
TXIF=0;
while(1);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment