AtomSoft
Well-Known Member
Hey all decided to try out MCC18 again and im having trouble compiling my code. When i remove the below from my code it compiles well so i assume it has to do with the below:
Can someone spot a potential problem?
EDIT FORGET THIS
Error: syntax error @:
I added full code that i have so far.
Code:
char bl; //Byte Loop
for(bl=0;bl<8;bl++){
if((cb & 0x80) != 0)
SDA = 1;
else
SDA = 0;
i2c_clock();
cb=cb<<1;
}
Can someone spot a potential problem?
EDIT FORGET THIS
Error: syntax error @:
Code:
char bl; //Byte Loop
I added full code that i have so far.
Attachments
Last edited: