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.

How to work with txt files in MPLAB

Status
Not open for further replies.

mariuszoll

Member level 5
Joined
Aug 28, 2012
Messages
82
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
2,147
Hi,

I work on a project with PIC18F, and there are some very important variables in my program. The values of these variables is not recommended to read it from keyboard, it was sugested to read it from an extern txt file from a local/network drive.
First of all, I tried to declare a file( ex: FILE *fp ), but I got an error sintax.
So, I would like to know if it is possible to handle txt files, and if it is how?

Thank you in advance.
 

Hi,

Cannot you open the .fp file in a suitable windows program then cut and paste the data into whatever complier you are using with Mplab
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top