
Originally Posted by
Andre_Pretorius
This is what i have so far, Still nothing
No mention of ansel in the data sheet, any other idea i have replaced the chip also and tested with a ossiliscope to try and see if mabe the chips was faulty still nothing
'*Serial port Setup 9600 8N1*
TXSTA = %10100100
RCSTA = %10010000
DEFINE HSER_BAUD 9600 ; 9600 Baud
DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
DEFINE HSER_TXSTA 24h ' Enable transmit, BRGH = 1
DEFINE HSER_CLROERR 1 ; Clear overflow automatically
DEFINE HSER_SPBRG 129
TRISC = %10000000 'RC7 as RX(input) rest as output
RC6 output, RC7 input edit: I gotta rub my eyes ! Been starin' at this "Confuser too long" Anyway you're using Herserout, so you should be using RC6, Yes? So what's on the other end? Is it working? Oh , just nosey, what's in the ansi include file? Must be something of yours, never seen that one . . .
Cut this from your code and see:
TXSTA = %10100100
RCSTA = %10010000
Last edited by Archangel; - 8th July 2008 at 07:19.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks