Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

PIC16F877A Sending data to a PC via serial port

Status
Not open for further replies.

Thiliniv

Junior Member level 3
Joined
Nov 20, 2009
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,458
When I simulate the following code with PIC simulator IDE , it works well . However when I simulate it with "Proteus" , using virtual terminal , I get lot of zeros. Can anyone pls tell me why it's so?




Code:
 void main()
{
UART1_init(9600); // initialize USART module
// (8 bit, 9600 baud rate, no parity bit...
while (1)
{
UART1_Write('A'); // send data via USART
Delay_ms(1);
}
}
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top