@12MHZ what is the expected baudrate? 2400?Code:DEFINE HSER_RCSTA 90h DEFINE HSER_TXSTA 20h DEFINE HSER_BRGH 0 <-- Don't exist DEFINE HSER_SPBRG 64 DEFINE HSER_CLOERR 1 <-- HSER_CLROERR
using the calc i done few month ago
@12 MHZ you must use the following
about now?Code:DEFINE HSER_RCSTA 90h DEFINE HSER_TXSTA 20h DEFINE HSER_SPBRG 77 ' 2400 Bauds DEFINE HSER_CLROERR 1
Bookmarks