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

Problem with PORTA on pic 18f4550!

Status
Not open for further replies.

empnik

Newbie level 1
Joined
Oct 8, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
Please help! Part of code(written in C) in MPLAB is:
TRISA=0xf0;
ADCON1=0x0f;
but when I try to simulate it and to give PORTA some values it does not respond. I tried with LATA but its the same. I check WATCH all the time: TRISA and ADCON1
are OK but PORTA still does not respond. Does anyone has some idea? Is it the problem with configuration bits or is there some other register which is connected with PORTA. I want only 4 lower bits to be the output.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top