I want to be able to address each bit in a 24C16.
I am using PicBasic Plus 2.1.
Usually i use these 3 subs:
MemWrite:
GoSub GetPos
BUSOUT control_byte, address_low, [Utdata]
pause 10
Return
MemRead:
GoSub GetPos
busin control_byte,address_low,[Indata]
pause 10
Return
GetPos:
control_byte = $A0 + (MemPos.highbyte << 1)
address_low = MemPos.lowbyte
Return
But now i want to be able to access each bit, one and one. Is that possible?
I am using PicBasic Plus 2.1.
Usually i use these 3 subs:
MemWrite:
GoSub GetPos
BUSOUT control_byte, address_low, [Utdata]
pause 10
Return
MemRead:
GoSub GetPos
busin control_byte,address_low,[Indata]
pause 10
Return
GetPos:
control_byte = $A0 + (MemPos.highbyte << 1)
address_low = MemPos.lowbyte
Return
But now i want to be able to access each bit, one and one. Is that possible?