if I have a 16 bit variable (number) and I try to send it out one bit at a time on RCO (the first bit of a register also the data line) will it work as I intend it??
example: *Note RC0 is first...
Type: Posts; User: theeld
if I have a 16 bit variable (number) and I try to send it out one bit at a time on RCO (the first bit of a register also the data line) will it work as I intend it??
example: *Note RC0 is first...
I think in assembly EQU pulls the trick but in C,
how do you equate on variable to another so that everytime the compiler sees a word it substitutes the other word into it...
EXAMPLE:
DIN...
PORTB = DATA >> i;
I am attempting to put a bit shifted version of DATA into PORT B
question is:
does the above line of code change the variable DATA at all, or is it still the original value...
yeah like an if () or a while ()
there is no operating system
the condition may not always be true, but it will become true once the interrupt gets around to the right condition
single...
I am programming a PIC to send bytes using a baud rate specified by a Timer2 interrupt (needless info)
anyway. Is there a conditional statement that will halt execution UNTIL the condition is...