Dr_Doggy
Well-Known Member
yea, i get it now, When i read it in the book i thought it meant comparison as in ascii(1)=binary(1), lol
I am down to the last 3 subroutines now, however i am running in to a problem with my INITALISE sub where I am doing several loops within each other,
however when my BLOCK value is an EVEN number it never seems to output a 1, I have even /*REM'ed*/ the original line in case2, and added an "override if" statement before the SWITCH line, however dataout never seems to be 1?
I think the problem is in this sub since i tried preloading the external eeprom in cow, and it is able to "playback" fine in mplab
(subs READYCHIP and INSTRUCT are "chip select" AND "send instruction" for my external spi eeprom)
ALSO one other question about Delay10TCYx; IF Delay10TCYx (60) = 50us @48MHz, does that mean ima use : Delay100TCYx(20) TO GET 100us@8Mhz??
EDIT: in my c code the (IF block==2) is BEFORE the switch begins, i just pasted it wrong in the notepad..
I am down to the last 3 subroutines now, however i am running in to a problem with my INITALISE sub where I am doing several loops within each other,
however when my BLOCK value is an EVEN number it never seems to output a 1, I have even /*REM'ed*/ the original line in case2, and added an "override if" statement before the SWITCH line, however dataout never seems to be 1?
I think the problem is in this sub since i tried preloading the external eeprom in cow, and it is able to "playback" fine in mplab
(subs READYCHIP and INSTRUCT are "chip select" AND "send instruction" for my external spi eeprom)
ALSO one other question about Delay10TCYx; IF Delay10TCYx (60) = 50us @48MHz, does that mean ima use : Delay100TCYx(20) TO GET 100us@8Mhz??
EDIT: in my c code the (IF block==2) is BEFORE the switch begins, i just pasted it wrong in the notepad..
Last edited: