A 16 bit word is sent as two bytes because the registers in the UART are 8 bit. Send the two bytes and reassemble them into a word at the far end
A 10mS pause is easy.... PAUSE 50
Because your PIC is running 5 times as fast as the compiler thinks it is, all delays will be a fifth of what it expects so the 50mS pause will become 10mS.




Bookmarks