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