UART recieving using Basic Atom 28 pin plus BOT BOARD II

clrc,clrf and clrw are assembly commands for PICmicros. You have to use them correctly. “clrc” clears the carry bit. “clrw” clears the W register. “clrf” clears the specified register.

Sethserial is for use with the hserial subsystem which you are not use. Trying to use it as you are is not going to work. Period. Do not pass Go. Do not collect $200 dollars. You must setup the usart hardware yourself if you want to use the usart interrupts yourself.

Sethserial is for use with the HSerial subsystem which you are not using. Trying to use it as you are is unlikely to work correctly. No further support will be given for SetHserial execpt when using the HSerial system.

You must setup the usart hardware yourself if you want to use the usart interrupts directly with your own code.

When you have a changed your program to setup the appropriate registers please get back to me and I’ll be happy to help you from there. As I’ve stated in other replys you will need to read the usart section(at a bear minimum) of the appropriate PICmicro datasheet to determine what registers must be setup to use the receive function of the usart.