Picdem™ 17 demonstration board user’s guide – Arizona Picdem 17 User Manual

Page 44

Advertising
background image

PICDEM™ 17 Demonstration Board User’s Guide

DS39024B-page 38

2001 Microchip Technology Inc.

// Print the Hello message to the first line

putrsXLCD(Hello);

// Wait for the LCD to finish last command

while(BusyXLCD());

// Set the cursor to the start of the 2nd line

SetDDRamAddr(0x28);

// Print the World message to the 2nd line

putrsXLCD(World);

// Endless loop to end program

while(1)

{

Nop();

Nop();

}

}

Advertising