Hi, I already start my project which is related to micro-controller and the first problem is how to read binary file with mplab building language (c language) I try this code but its not took effect plz help me
#include<p18f452.h>
#include<stdio.h>
FILE *e;
void main (void){
e=fopen("c:\nine.bin", "rb");
}
thanx Ian for reply, I try to read binary file as a first step then insert it to EEPROM memory to deal with its data but I think this is not proper way what's ur opinion?
thanx Ian for reply, I try to read binary file as a first step then insert it to EEPROM memory to deal with its data but I think this is not proper way what's ur opinion?
If you want to place data "into" the small eeprom on a pic chip MPALB expects you to have a ".xch" file (basically a text file ).. when you open the "eeprom view" you can right click in the window on the first data location and import this file.... Other than that painstakingly write all you values in.