Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4746

EEPROM query: easy for you, a mystery to me!

$
0
0
Hi,

I do not understand how I can *apparently* write to 8-bit EEPROM addresses *above 1k* on an 18F46K22.

Unbelievably to me, the following code works just fine, writing and reading back at address 7500.

My ignorance is clearly deeper than I thought! Can anyone shed light on this mystery?

Thank you!


promtest:
y var word
z var word
y = 7500
write y, 100
read y, z
lcdout 254,1
pause 200
lcdout 254,128, #z
END
return

Viewing all articles
Browse latest Browse all 4746

Trending Articles