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.

EEPROM in pic16f887 and using macros

Status
Not open for further replies.

charu2539211

Junior Member level 3
Joined
Jul 22, 2013
Messages
31
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Activity points
200
HI

can i define the program writing in EEPROM as a Macro and use it in my main program?? if so can u tell me the steps to do so??

I am using MPLAB IDE, PIC16f887 processor.
 

you can write.. but you have to remember that the macro functions will expand each time when you calling the function....

better option is writing the function as a function and defining the particular offset (desired starting location) as macro....
 

ya i know!! but i will be using it many times.. so i thought using macros will be a better option. and i dont have problem if the size of the program increases.

- - - Updated - - -

can u suggest some tutorials links???
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top