are your sure of you protocol?
i m using the PIC16F84 with 9600 baudrate,
no stop bits
What about...
Code:
TRISA=255
TRISB=0
DEFINE DEBUGIN_REG PORTA ' Serial data come in
DEFINE DEBUGIN_BIT 0 ' PORTA.0
DEFINE DEBUGIN_MODE 0 ' true driven mode
DEFINE DEBUG_BAUD 9600 ' 9600 BAUD
DataIn var byte
START:
DEBUGIN DataIn
PORTB=DaraIn
goto start
be sure of your Serial Mode => Inverted or not
Be sure you also define your OSC speed
Last edited by mister_e; - 9th January 2006 at 23:13.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks