Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

help in UART Communication

Status
Not open for further replies.

mragab47

Newbie level 4
Joined
Nov 11, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
egypt
Activity points
1,315
i connect switch at RB1 and i need to send data to pc when switch off

and that my code

void main(){

portb.rb1=0;
trisb.rb1=1;
uart1_Init(9600);

do{
if (portb.rb1==1){
uart1_write("7");}
}while(1);

}


and i sure that all connections are true

i work on MikroC and Proteus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top