Thanks so much HenrikOlsson for all this,
just read about (LAT register (output latch)) in datasheet, and found the NOP but was puzzle about the @. you did clarify all this.
LATB is a register within the PIC, not a PBP command. Exactly the same as TRISA, CMCON, WPUA, ANSELA, ADCON and a few hundred more that you will not find in the PBP manual but rather in the datasheet...
your sending capture looks good. Handling the receive, the debug in may or may not filter how you want... play with that some because if receiving HEX, that is 2 bytes to make into 1 byte value of...
Published on - 5th December 2010 17:58
Number of Views: 9515
Hi,
Here's a short list of Frequently Asked Questions that should be of interest for most beginners. Don't hesitate to read them... they're not going to bite you
...
Re: Issues sending and receiving data
i don't see this working , porta.3 is input only
richard Yesterday, 23:44Receive pic code
DEFINE DEBUG_REG PORTA ' Set Debug pin port
DEFINE DEBUG_BIT 3 ' Set Debug pin bit
DEFINE DEBUG_BAUD 2400 ' Set...