PDA

View Full Version : 12f675 eeprom DATA ok but not write



anode505
- 19th June 2010, 20:54
DATA works, but write doesn't for me. What am I missing?


'********************************* ******************************
@ device pic12F675, intrc_osc_noclkout, wdt_on, pwrt_on, mclr_off, bod_off, protect_off
'********************************* *******************************

DEFINE osc 4 ' 4 MHz oscillator
Define OSCCAL_1K 1 ' Set OSCCAL for 1K device

PAUSE 500
write 3, 8 ' Does not work
data @4, 6 ' Does work

anode505
- 19th June 2010, 21:19
Nevermind.
(couldn't find the delete post)