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.

[SOLVED] Accessing Individual Bits mikroC pro for PIC Help me

Status
Not open for further replies.
Hi 'nandana',
Your attached program is working as you expected when you change the LED properties form analog to digital (Model Types) in your DSN because the PORTB.Fx = 1; is a "Read-Modify-Write" instruction and no any LED serial resistors.
See the logical levels of the PORTB pins ...
 
Thank you very very very much. Actually I couldn't understand it. Thank you very much. The problem was in isis circuit.
Thanks again.
Best regards.
:razz:
Hi the problem is read modify write operation put a resistor between output and LED then the first program itself will work fine............
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top