SW006010 Microchip Technology, SW006010 Datasheet - Page 77

no-image

SW006010

Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
Datasheets

Specifications of SW006010

Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC17C
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
 2002 Microchip Technology Inc.
3.3.2
#include <p17c756.h>
#include <xlcd.h>
#include <delays.h>
#include <usart16.h>
void DelayFor18TCY(void)
{
}
void DelayPORXLCD(void)
{
}
void DelayXLCD(void)
{
}
void main(void)
{
}
Nop;
Nop;
Nop;
Nop;
Nop;
Nop;
Nop;
Nop;
Nop;
Nop;
Nop;
Nop;
return;
Delay1KTCYx(60);//Delay of 15ms
return;
Delay1KTCYx(20);//Delay of 5ms
return;
char data;
// configure external LCD
OpenXLCD(EIGHT_BIT&LINES_5X7);
// configure USART
OpenUSART1(USART_TX_INT_OFF&USART_RX_INT_OFF&
while(1)
{
}
CloseXLCD();
CloseUSART1();
return;
while(!DataRdyUSART1()); //wait for data
data = ReadUSART1();
WriteDataXLCD(data);
if(data=='Q')
break;
Example of Use
USART_ASYNCH_MODE&USART_EIGHT_BIT&
USART_CONT_RX, 25);
Software Peripheral Library
//read data
//write to LCD
//close modules
apRNOVS^-page 73

Related parts for SW006010