Not sure... sure i misunderstand what you said.
Code:
addr var word
CTL CON $A0
addr=$F0F0
SendIt:
I2CWRITE PORTD.6, PORTD.7,CTL,addr,[$F1F2]
pause 50
goto sendit
will looks like...
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2461&stc=1&d=120717761 2">
But yeah.. on some device, the Address can be mixed with the ControlByte. EEPROMs such as some 24C04, c08 and c16 work like that.
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2462&stc=1&d=120717799 9">
They call it page select (sort of)... those Px bits...
NOTE: well it's not a 24lc64screenshot but anyways.
Last edited by mister_e; - 3rd April 2008 at 00:30.
Reason: Datasheet 24Cxx
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks