YALI
Yet Another LCD Interface
unilcd-pic16.X
xc8-pic-conf.h
Go to the documentation of this file.
1
30
#ifndef __UNI_LCD_LIB_XC8_PIC_MID_HEADER__
31
#define __UNI_LCD_LIB_XC8_PIC_MID_HEADER__
32
33
#include "unilcd-config.h"
34
#include <xc.h>
35
39
#define XC8_PIC_MID 1
40
44
#define SHIFTREG_PORT PORTB
48
#define SHIFTREG_TRIS TRISB
49
53
#define SHIFTREG_CLK_PIN 0
57
#define SHIFTREG_DATA_PIN 1
61
#define SHIFTREG_LATCH_PIN 2
62
63
// Data type and constant mappings.
67
#define UCHAR unsigned char
71
#define CHAR char
75
#define VOID void
76
80
#define NULL 0
84
#define MAX_STR_LEN 16
85
86
// System function mappings.
90
#define DELAY_LONG() __delay_ms(5)
94
#define DELAY_SHORT() __delay_us(30)
95
96
#pragma warning disable 520
97
98
#endif
/* __UNI_LCD_LIB_XC8_PIC_MID_HEADER__ */
99
Generated by
1.9.1