Hi,
Long time no see.
I'm working on a RS232 serial controller for my project. Basically turns on and off the pic outputs based on commands from the computer.
What I need help with is writing code that does an IF statement based on the character in the register.
So basically if I send an 'F' over the serial line, I want RB0 to turn on.
I'm not sure how to do the IF command in assembly code to compare a character against the register of the 16f628a pic.
I've managed to get my code to turn on LEDs, etc with just bashing any old key, but I need to be able to go the next stage.
Any ideas?
Long time no see.
I'm working on a RS232 serial controller for my project. Basically turns on and off the pic outputs based on commands from the computer.
What I need help with is writing code that does an IF statement based on the character in the register.
So basically if I send an 'F' over the serial line, I want RB0 to turn on.
I'm not sure how to do the IF command in assembly code to compare a character against the register of the 16f628a pic.
I've managed to get my code to turn on LEDs, etc with just bashing any old key, but I need to be able to go the next stage.
Any ideas?