tomand
Electrical
- Feb 26, 2004
- 11
I am trying to program an atmel AT89C2051. As you might know it has a capacity of 2K. Now the program itself is only a few lines. But when I compile it, a hex file is produced that is 3.2K. So I get an error message. The large file is because of to lines in the program:
#import<file1.h>
#import<file2.h>
I picked up the program in book on Microcontroller programming by Ibrahim Dogan. And he uses the exact same chip.
The question is: What am I doing wrong?
Please help
Tom
#import<file1.h>
#import<file2.h>
I picked up the program in book on Microcontroller programming by Ibrahim Dogan. And he uses the exact same chip.
The question is: What am I doing wrong?
Please help
Tom