59 lines
1.1 KiB
C
59 lines
1.1 KiB
C
/*
|
|
* File: main.c
|
|
* Author: Gaurav
|
|
* Compny:www.CircuitValley.com
|
|
* Complier: - HI-TECH PRO 9.82
|
|
* * Created on February 14, 2012, 9:39 PM
|
|
*/
|
|
|
|
|
|
#ifndef __lcdmap_h
|
|
#define __lcdmpa_h
|
|
|
|
// these pixal defination are with respect to my lcd and my wireing connections
|
|
//you may need to chage them according to you lcd pins and pixal allignment
|
|
|
|
#define D1E SEG1COM0
|
|
#define D1D SEG1COM1
|
|
#define D1A SEG1COM2
|
|
#define D1F SEG1COM3
|
|
#define D1C SEG0COM0
|
|
#define D1DOT SEG0COM1
|
|
#define D1B SEG0COM2
|
|
#define D1G SEG0COM3
|
|
|
|
|
|
#define D2E SEG3COM0
|
|
#define D2D SEG3COM1
|
|
#define D2A SEG3COM2
|
|
#define D2F SEG3COM3
|
|
#define D2C SEG2COM0
|
|
#define D2DOT SEG2COM1
|
|
#define D2B SEG2COM2
|
|
#define D2G SEG2COM3
|
|
|
|
|
|
#define D3E SEG5COM0
|
|
#define D3D SEG5COM1
|
|
#define D3A SEG5COM2
|
|
#define D3F SEG5COM3
|
|
#define D3C SEG4COM0
|
|
#define D3DOT SEG4COM1
|
|
#define D3B SEG4COM2
|
|
#define D3G SEG4COM3
|
|
|
|
|
|
#define D4E SEG7COM0
|
|
#define D4D SEG7COM1
|
|
#define D4A SEG7COM2
|
|
#define D4F SEG7COM3
|
|
#define D4C SEG6COM0
|
|
#define D4DOT SEG6COM1
|
|
#define D4B SEG6COM2
|
|
#define D4G SEG6COM3
|
|
|
|
#define LOWBAT SEG8COM3
|
|
|
|
|
|
|
|
#endif |