Searching \ for '[PIC]C18 example' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'C18 example'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]C18 example'
2005\09\15@062226 by Hopkins

flavicon
face
Using C18 (Learning) (using an 18F252)

How do I send a complete word "Hello" to an LCD using C18.

I can send individual characters ok at this stage but do not know how
you setup C18 to send a whole word or sentence.

_______________________________________

Roy
Tauranga
New Zealand
_______________________________________


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.25/102 - Release Date:
14/09/2005


2005\09\15@071528 by Xiaofan Chen

face picon face
I have never tried any LCD interface but maybe you can try
the XLCD C example from Microchip.

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1411

http://ww1.microchip.com/downloads/en/DeviceDoc/xlcdc.readme.pdf

2005\09\15@121555 by Bruce

flavicon
face
> Using C18 (Learning) (using an 18F252)
>
> How do I send a complete word "Hello" to an LCD using C18.
>
> I can send individual characters ok at this stage but do not know how
> you setup C18 to send a whole word or sentence.

The full version od C18 has a function named putrsXLCD that writes
a string of characters to the LCD.

putrsXLCD( "Hello");

Regards,

Bruce
http://www.rentron.com


2005\09\15@130205 by Harold Hallikainen

face picon face
You can also use printf. Redirect the stream out of printf using something
like this:

LcdInit();
LcdCommand(LcdClear);
stdout = _H_USER; // redirect printf to LCD using _user_putc
printf("Hello World");
stdout = _H_USART; // back to usart if desired


//========================PrintfRedirection===============================

int _user_putc(char data){
// Called by printf if stdout has been redirected to _H_USER.
       LcdPutChar(data);
}


Harold


{Quote hidden}

> -

More... (looser matching)
- Last day of these posts
- In 2005 , 2006 only
- Today
- New search...