The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: xap serial pic to video update


  • To: <ukha_d@xxxxxxx>
  • Subject: RE: xap serial pic to video update
  • From: "Ian B" <Ian@xxxxxxx>
  • Date: Sat, 21 Sep 2002 23:23:54 +0100
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

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
-----Original Message-----
From: Frank Mc Alinden [mailto:armagh@xxxxxxx]
Sent: 21 September 2002 22:46
To: ukha_d@xxxxxxxSubject: [ukha_d] xap serial pic to video update

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.

Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.