Library for PAT9125 on L476RG platform

Fork of pat9125_mbed by PixArt Imaging

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pixart_lcm.h Source File

pixart_lcm.h

00001 #ifndef PIXART_LCM_H
00002 #define PIXART_LCM_H
00003 
00004 #include "stdint.h"
00005 #include "mbed.h"
00006 
00007 typedef uint8_t boolean ;
00008 
00009 class pixart_lcm
00010 {
00011     public:           
00012 
00013         pixart_lcm(SPI *pSPI, DigitalOut *pCSB, DigitalOut *pRSTB, DigitalOut *pRS) ;
00014         void LCM_DisplayString(unsigned char line, unsigned char position, const char *ptr) ; 
00015         void LCM_DisplayDecimal(unsigned char line, unsigned char position, unsigned int hex_word, unsigned char digits) ; 
00016         void LCM_DisplayString_Reset(void); 
00017         void LCM_DisplayString_Boot(boolean sen_status); 
00018 
00019 };
00020 #endif