Library for PAT9125 on L476RG platform
Fork of pat9125_mbed by
Diff: pixart_lcm.h
- Revision:
- 1:4b7c15d9c864
diff -r 3459848530ee -r 4b7c15d9c864 pixart_lcm.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pixart_lcm.h Thu Feb 01 02:21:50 2018 +0000 @@ -0,0 +1,20 @@ +#ifndef PIXART_LCM_H +#define PIXART_LCM_H + +#include "stdint.h" +#include "mbed.h" + +typedef uint8_t boolean ; + +class pixart_lcm +{ + public: + + pixart_lcm(SPI *pSPI, DigitalOut *pCSB, DigitalOut *pRSTB, DigitalOut *pRS) ; + void LCM_DisplayString(unsigned char line, unsigned char position, const char *ptr) ; + void LCM_DisplayDecimal(unsigned char line, unsigned char position, unsigned int hex_word, unsigned char digits) ; + void LCM_DisplayString_Reset(void); + void LCM_DisplayString_Boot(boolean sen_status); + +}; +#endif