Just in case
you
missed it here it is as a subroutine
;**************************************************************************** ;
Lower case to upper
case ;**************************************************************************** Convert movf RCREG,W bcf PIR1,
RCIF addlw 255 - 'z' ; This converts the character
to
upper case. addlw 'z' - 'a' + 1 btfss STATUS,
C addlw h'20' addlw 'A' ; Down to
here
where the character is restored into
W movwf TXREG ;
Send it to the serial out so I can see
it movwf Char ;
Save off the received character return
Ian
B
Hi All
Firstly
i
would like to thank Ian L and Tony T for their help and patience in getting
my
pc to send xap messages......
Yesterday i spent from
7.00am
to 11.00 pm on this and like Ian Bird had a very frustrating
day.
At the end of the day i had something
happening
,, i can now capture the raw xap message and display it on my tv using
19200
baud (16F876 pic ). At the moment im going to use a look up table for the
fixed part of the message, although i was thinking of having 2 one for
lower
case and one for upper, as i understand the message is not case
sensitive.
Its slow at the moment but hopefully
with
more experience it will get better...
More Soon
Frank Mc
http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx Subscribe:
ukha_d-subscribe@xxxxxxx Unsubscribe:
ukha_d-unsubscribe@xxxxxxx List owner:
ukha_d-owner@xxxxxxx List of UKHA Groups here - http://groups.yahoo.com/group/UKHA_Grouplists/
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Yahoo! Groups
Sponsor |
ADVERTISEMENT
| |
|
http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe: ukha_d-subscribe@xxxxxxx
Unsubscribe: ukha_d-unsubscribe@xxxxxxx
List owner: ukha_d-owner@xxxxxxx
List of UKHA Groups here - http://groups.yahoo.com/group/UKHA_Grouplists/
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|