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] PIC165877 Ports using MikroC

Status
Not open for further replies.

tahir4awan

Full Member level 4
Joined
Nov 29, 2010
Messages
208
Helped
16
Reputation
32
Reaction score
17
Trophy points
1,308
Location
Germany
Activity points
3,084
There is a confusion when assigning individual pins of Port.

PORTB.RB0 and PORTB.F0 both works same.

But I dont understand the term F0 What does it mean?
 

Just another #define in the header file, probably kept for legacy code. Find the header for the PIC you're using and take a look inside.
 

I think it is built in function of mikroC and it works without defining it.
 

You don't have to #define PORTB.F0, like you don't have to #define PORTB.RB0. MikroE likes to hide their inner works of their compilers, so if it's not in a header, .c or asm file, it's a precompiled lib which is then linked with your code.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top