Hite.ch + Pr.oPic set EEPROM

Status
Not open for further replies.

neuralc

Full Member level 4
Joined
Nov 6, 2001
Messages
236
Helped
9
Reputation
18
Reaction score
3
Trophy points
1,298
Activity points
2,202
Hi all,

I have a program created with H.T P.ICC and I'm programming PIC with ProP.ic2, but I need to set all eeprom data to zeros at programm time, Can I set eeprom data to zero in the hex file?

ThX

NeuralC
 

Sure just use
__EEPROM_DATA(0, 0, 0, 0, 0, 0, 0, 0);

in Hi-Tech PIC C to zero 8 bytes of EEPROM this will be included in your hexfile.

best regards
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…