#defineucharunsignedchar#defineuintunsignedint//定義HT1621的命令#defineComMode0x52//4COM,1/3bias100001010010 #defineRCosc0x30//內(nèi)部RC振蕩器(上電默認)100000110000#defineLCD_on0x06//打開LCD
#defineucharunsignedchar#defineuintunsignedint//定義HT1621的命令#defineComMode0x52//4COM,1/3bias100001010010#defineRCosc0x30//內(nèi)部RC振蕩器(上電默認)100000110000#defineLCD_on0x06//打開LCD偏
//********WAVE-E6000/T***************//*MCU: AT89C51 *//*MCU-crystal: 12M *//***********************************#include#include#define uint unsigned int#define uchar unsigned char//*****
//PIC16C72單片機控制HT1621B驅(qū)動LCD#include #define BIAS 0X50 //1/2偏壓,4背極#define RC256 0X30 //系統(tǒng)時鐘選擇為片內(nèi)RC振蕩器#define WDTDIS1 0X0A //禁止WDT溢出標志輸出#define TIMERDIS 0X08
具有HT1621B顯示系統(tǒng)的微處理器電路