版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
#include<reg51.h>#include<intrins.h>#defineuintunsignedint#defineucharunsignedchar〃-定时使用的IOII-√∕#defineDATA_P0RTPOsbitLCD12864-CS =P3λ2;sbitLCD12864^RSET=P3λ3;sbitLCDI2864_RS =P2λ6;sbitLCDI2864_RW =P2λ7;sbitLCDI2864_RD =P2λ5;〃一定义全局函数--〃voidLcdSt7565-WriteCmd(cmd);voidLcdSt7565-WriteData(dat);voidLcdl2864Jnit();voidLcdl2864_ClearScreen(void);voidLcdl2864_Writel6CnCHAR(ucharx,uchar½uchark);voidDelaylθms(unsignedintc);unsignedcharcodetable[40][32]={∕*~~文字:° —*/∕*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/OxOO,OxOO,OxOO,OxOO,OxOO,OxOO,OxOO,OxOOzOxOO,OxOO,OxOO,OxOO,OxOO,OxOOzOxOO,OxOO,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x24,0x24,0x18,0x00,0x00,/*-文字:都一j7/*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x06,0xDA,0x22,0x02,0xFEz0x20,0x26,0x28z0x34,0x24,0x7Fz0xA4,0x24,0x24,0x20,0x00,0x07,0x08,0x10,0x08,0xFF,0x00,0x00,0xFFz0x49,0x49z0x49,0x49,0xFF,0x02,0x04z/*-文字:皇」//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0x00,0x00,0x7C,0x54,0x54z0x54,0x54,0x55,0x56z0x54,0x7C,0x00,0x00,0x00,0x00,0x40,0x4l,0x49z0x49,0x49,0x49,0x49,0x7F,0x49,0x49,0x49,0x49,0x49,0x41,0x40,/*-文字:满一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x24,0x24,0x2F,0xE4,0x24,0x24z0xE4,0x2F,0x24,0x24,0x00,0x8C,0x02,0x60,0xl0,0x00,0x7F,0x91,0x49,0x07,0x09,0xl9z0x07,0x09,0xll,0xFF,0x00,0x01,0x7Ez0x04,0x04,/*•■文字:柳■■*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/OxOOzOxFC,0x04,0x04,0xFC,0x00,0xF8,0x02z0x04,0xFC,0xl0,0x90,0xFFz0xD0,0xl0,0x10,0x00,0x07,0x08,0x04,OxFFzOxOO,0x0F,0x32z0x44z0x8Fz0x01,0x00,0xFF,0x00,0x03,0x04,/*-文字:烟一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0xFE,0x42,0x42,0x42z0xFA,0x42,0x42,0x42,0xFE,0x08,0xl0,0xFF,0x00,0x70,0x80,0x00,0xFF,0x40,0x4C,0x42,0x41,0x46,0x48,0x50,0xFF,0xl0,0x08,0x07,0xl8,0x60,0x80,/*-文字:胜一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/OxOO,OxOO,OxlO,OxlOzOxlO,OxFF,0x10,0x10,0x3C,0x40,0x00z0xFEz0x22,0x22,0xFE,0x00,0x00,0x40,0x42,0x42z0x42,0x7F,0x42z0x42,0x42z0x40,0x00,0xFF,0x82,0x02,0x7Fz0x80,/*-文字:绝一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0xE0,0x2Cz0x34,0xE4,0x24,0x27,0xE8,0xl0,0x20,0xl0,0x63,0xAC,0x30,0x20,0x00,0x70,0x43,0x42z0x42,0x43z0x42,0x42,0x3F,0x00,0x00,0x12,0x12,0x22,0x67,0x22,/*■■文字:,-*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x58,0x00,0x00,/*-文字:处一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0x80,0x40,0x20,0xl0,0xFF,0x00z0x00,0xF8,0x08,0x08,0x9F,0x60,0x80,0x00,0x00,0x40,0x41,0x40,0x40,0x40,0x5F,0x40,0x20,0x20,0xl3,0x0C,0xl3,0x20,0x40,0x81z/*■■文字:好—*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x80,0x86,0x8A,0x92,0xE2,0x82,0x82,0x80,OxOO,OxFO,OxlOzOxlF,OxFO,OxlO,OxlO,0x00,0x00,0x00,0x00,0x00,0x7F,0x80z0x40,0x00z0x00z0x61,0xl6,0x08,0xl5,0x22z0x40,/*■■文字:春—*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x40,0x44z0x54z0x54,0xD4,0x54,0x54,0x5Fz0x74,0x54,0xD4,0x54,0x54,0x44z0x40,0x00,0x04,0x04,0x02z0x01,0xFE,0x92,0x92,0x92z0x92,0x92,0xFE,0x01,0x02z0x04,0x04z/*■■文字:年—*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0x04,0x44,0x44,0x44,0x44,0xFCz0x44z0x44z0x44z0x44,0xC7,0xl8,0x20,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0xFFz0x04,0x04,0x04,0x04,0x07,0x04,0x04,0x04z/*--文字:---*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*-文字:是一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0x00,0x00,0x7F,0x49,0x49,0x49,0x49,0x49,0x49,0x49,0x7F,0x00,0x00,0x00,0x00,0x81,0x81,0x89,0x89,0x89,0x89,0x89,0xFF,0x81,0x41,0x21,0xlD,0x21,0x41,0x81z/*-文字:最一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x40,0x40,0x40,0x5F,0x55,0x55z0x55z0x55,0xD5,0x55z0x55,0x5F,0xC0z0x40,0x40,0x00,0x80,0x80,0x43,0x2D,0xll,0x29z0x47,0x90,0xFF,0xl5,0xl5,0x25z0x3Fz0x60,0x20,/*-文字:。一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x24,0x24,0x18,0x00,0x00,/*-文字:无一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0x40,0x40,0x42,0x42z0x42,0xC2,0x42,0x7E,0xC2,0x42,0x42,0x42,0x40,0x00,0x00,0x00,0x70,0x40,0x40,0x40,0x40,0x3Fz0x00,0x00z0x03,0x0C,0xl0,0x20,0x40z0x80z/*-文字:却一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0xFCz0x04,0x04,0x04,0xFC,0x80,0x88,0x88,0x88,0xFF,0x88,0x88,0x88,0x80,0x00,0x00,0x0F,0xl0,0x08,0x00,0xFF,0x00,0x30,0x18,0x14,0x10,0x13,0x14,0x38,0x10,/*-文字:近一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x20,0x22,0x23,0xE2,0x24,0x24,0x24,0xFC,0x00,0x00z0x00,0xCCz0x42z0x40,0x40,0x00,0x40,0x40,0x40,0x5F,0x40,0x40z0x40,0x43,0x4C,0x50,0x20,0xlF,0x20,0x40z0x00,/*■■文字:看—*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x20,0x20,0x29,0x29,0x29,0x29,0x29,0x2E,0x3A,0x6A,0xAA,0x2A,0x2Az0x22,0x20,0x00,0x00,0x00,0x00,OxFF,0x55,0x55z0x55,0x55z0x55z0x55,0xFF,0x01,0x02,0x04z0x08z/*-文字:遥一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0x2D,0x31,0x21,0xF1z0x2A,0x22,0x32z0x4A,0x00,0x00z0xCC,0x42,0x40,0x40λ0x00,0x81,0xBD,0xAl,0xAl,0xBF,0xAl,0xAl,0xBD,0x81,0x80,0x40,0x3F,0x40,0x80,0x00,/*-文字:色一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/OxOO,OxOO,OxOO,0xE0,0x20,0x2C,0x34,0x24,0xE4,0x24,0x24,0x27z0x24,0xE8,0x10,0x20,0x00,0x78,0x40,0x43z0x42,0x42z0x42,0x42,0x43,0x42,0x42,0x42,0x42,0x3F,0x00,0x00,/*■■文字:草—*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x04,0x04,0x04,0xE4,0xA4,0xAF,0xA4z0xA4,0xA4,0xAF,0xA4z0xE4,0x04,0x04,0x04,0x00,0x08,0x08,0x08,0x0B,0x0A,0x0A,0x0A,0xFE,0x0Az0x0A,0x0A,0x0B,0x08z0x08,0x08,/*■■文字:,-*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/OxOO,OxOO,OxOO,OxOO,OxOO,OxOO,OxOO,OxOOzOxOO,OxOO,OxOO,OxOO,OxOO,OxOOzOxOO,OxOO,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x58,0x00,0x00,/*-文字:酥一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/OXOO,0x42,0x43,0x42,OxFE,0x44,0x44,0x44,0x00,0xF2,0x12,OxFE,0x12,OxFE,0x12,0xF2,0x00,0x08,0x06,0x01z0xFFz0x03z0x0C,0xl0,0x00,0xFFz0x49,0x49z0x48,0x49,0x4Az0xFFz/*-文字:如一j7/*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0xF8z0x08,0x08,0x08,0xF8,0x00,0x00,0xF0,0xl0,0xl0,0xlF,0xF0,0xl0,0xl0z0x00,0x00,0x7F,0x20,0x20,0x20,0x7Fz0x00,0x00,0x61,0x16,0x08,0x14,0x22,0x41,0x80,/*-文字:润一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0xFE,0x02,0xl2z0xl2,0xF2,0xl0,0xl6,0x01,0xFC,0x00,0x8C,0x02z0x60,0xl0z0x00,0x00,0x7F,0x80,0x51,0xll,0xlFz0xll,0xllz0x00,0xFFz0x00,0x01,0x7Ez0x04,0x04,/*-文字:雨一j7/*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/OXOO,0x02,0xE2,0x22,0x22,0x22,0x22,0x22,OxFE,0x22,0x22,0x22,0x22,0x22,0xE2,0x02,0x00,0x00,0x7F,0x80,0x40,0xl2,0x09,0x00,0x7Fz0x00,0xl2,0x09,0x00,0x00,0xFFz0x00,/*-文字:小一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0x80,0x40,0x20,0x00,0x00,0x00z0xFF,0x00,0x00,0x00,0xE0,0x00,0x00,0x00,0x00,0x0E,0x01,0x00,0x00,0x00,0x00,0x00,0x7F,0x80,0x40,0x00,0x00,0x03,0x04,0x08,/*-文字:街一j7/*--宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x40,0x44z0xC4,0x44,0x40z0x24,0x24,0xBF,0x24,0x24,0x00,0×23,0xC4,0x88z0xl0z0x00,0x00,0x00,0x7F,0x80,0x40z0xl2z0xl2,0xlF,0x22,0x62,0x20z0x00,0xFF,0x00,0x01z/*-文字:天一*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/OXOO,0x40,0x40,0x42,0x42,0x42,0x42,0x42,OxFE,0x42,0x42,0x42,0x42,0x42,0x40,0x40,0x00,0x80,0x80,0x40,0x20,0xl0,0x0C,0x03,0x00,0x03,0x0C,0xl0,0x20,0x40z0x80,0x80,/*■■文字:早—*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0x00,0x00,0xFEz0x92,0x92,0x92z0x92,0x92,0x92,0x92,0xFEz0x00,0x00,0x00z0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04z0xFF,0x04,0x04,0x04,0x04,0x04,0x04,0x04,/*■■文字:春—*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x40,0x44,0x54,0x54,0xD4z0x54,0x54z0x5F,0x74z0x54,0xD4,0x54,0x54,0x44,0x40,0x00,0x04,0x04,0x02z0x01,0xFE,0x92,0x92,0x92z0x92,0x92,0xFE,0x01,0x02z0x04,0x04,/*■■文字:韩—*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x08,0x48,0x48,0x48,0xFF,0x48,0x48,0x00,0x08z0xE8,0xA8,0xBF,0xA8,0xE8,0x08,0x00,0xlE,0x22,0xl2,0x02,0xFF,0x02z0x02,0x02,0x08z0x0B,0x0A,0xFE,0x0A,0x0B,0x08z/*-文字:愈/*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0xl0,0xl0,0xE8,0x08,0x04,0xCC,0x0Az0x09z0xEA,0xAC,0xA4,0xA8,0xE8,0xl0,0xl0,0x00,0xC0z0x20,0x0F,0xC8,0x80z0x83,0xA0,0x90z0x8F,0x8A,0x62,0x02,0x0F,0x60,0x80,/*■■文字:作■■*//*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x08,0x08,0x88,0x88,0x88,0x88,0xF8,0x0F,0x30z0x40,0x07,0xF8z0x60,0x80,0x00,0x00,0x00,0x08,0x08,0x08,0x08,0x08,0xFFz0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x01,/*-文字:制/*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x00,0xFF,0x00,0x00,0xF8,0x40,0x48,0x48,0x48,0xFF,0x48,0x48,0x4E,0x50,0x40,0x00,0x00,0x7F,0x80,0x40,0x0F,0x00z0xlEz0x22z0xl2,0xFF,0x02,0x02,0x3Ez0x00z0x00,/*-文字:豪T/*-宋体12;此字体下对应的点阵为:宽X高=16x16 -*/0x00,0x80,0x82,0x82z0xBA,OxAA,0xAA,0xAA,0xAB,0xAA,0xAAz0xAA,OxBA,0x82,0x82,0x00,0x00,0x01,0x42,0x40,0x22,0x2A,0xl2z0xF2,0xAA,0x56,0x56,OxAA,0xAA,0xA0,0x01,0x02z/*—文字:周-*//*--宋体12;此字体下对应的点阵为:宽X高=16x16 --*/OxOO,OxOO,OxOO,OxFE,0x82z0x92,0x92,0x92z0xFE,0x92,0x92z0x92,0x82,0xFE,0x00,0x00,0x00,0x00,0x00,0x7F,0x80,0x40z0xlE,0xl2,0xl2,0xl2,0xlE,0x00,0x00,0xlF,0x60,0x80,);ucharnum;voidmain()(Lcdl2864Jnit();while(l)Lcdl2864_ClearScreen();Delayl0ms(60);Lcdl286<Writel6CnCHAR(72,0,32); 〃早Delayl0ms(60);Lcdl286<Writel6CnCHAR(40,0,33); 〃春Delayl0ms(60);Lcdl286<Writel6CnCHAR(64,2,34); 〃韩DeIaylOms(GO);Lcdl286<Writel6CnCHAR(48,2,35); 〃愈Delayl0ms(200);Lcdl2864_ClearScreen();Delayl0ms(60);Lcdl286<Writel6CnCHAR(112A31);〃第1行DeIaylOms(GO);Lcdl286<Writel6CnCHAR(96,0,30);DeIaylOms(GO);Lcdl286<Writel6CnCHAR(80,0,29);DeIaylOms(GO);Lcdl286<Writel6CnCHAR(64,0,28);DeIaylOms(GO);Lcdl286<Writel6CnCHAR(48,0,27);DeIaylOms(GO);Lcdl286<Writel6CnCHAR(32,0,26);DeIaylOms(GO);Lcdl286<Writel6CnCHAR(16,0,25);DeIaylOms(GO);Lcdl286<Writel6CnCHAR(0,0,24);Delayl0ms(200);Lcdl286<Writel6CnCHAR(112z2,23);〃第2行DeIaylOms(GO);Lcdl286<Writel6CnCHAR(96,2,22);DeIaylOms(GO);Lcdl2864_Writel6CnCHAR(80,2,21);Delayl0ms(60);Lcdl286<Writel6CnCHAR(64,2,20);Delayl0ms(60);Lcdl286<Writel6CnCHAR(48,2Λ9);Delayl0ms(60);Lcdl286<Writel6CnCHAR(32z2z18);Delayl0ms(60);Lcdl286<Writel6CnCHAR(16,2Λ7);Delayl0ms(60);Lcdl286<Writel6CnCHAR(0,246);Delayl0ms(200);Lcdl286<Writel6CnCHAR(112A15);Delayl0ms(60);Lcdl286<Writel6CnCHAR(96A14);Delayl0ms(60);Lcdl286<Writel6CnCHAR(80A13);Delayl0ms(60);Lcdl286<Writel6CnCHAR(64A12);Delayl0ms(60);Lcdl286<Writel6CnCHAR(48All);Delayl0ms(60);Lcdl286<Writel6CnCHAR(32A10);0.16.32.48.64.80.96.112Delayl0ms(60);Lcdl286<Writel6CnCHAR(16A9);0.2.4.6 (1357尽量不要)Delayl0ms(60);Lcdl286<Writel6CnCHAR(0A8);Delayl0ms(200);Lcdl286<Writel6CnCHAR(112z6,7);Delayl0ms(60);Lcdl286<Writel6CnCHAR(96,6,6);Delayl0ms(60);Lcdl286<Writel6CnCHAR(80,6,5);Delayl0ms(60);Lcdl286<Writel6CnCHAR(64,6,4);Delayl0ms(60);Lcdl286<Writel6CnCHAR(48,6,3);Delayl0ms(60);Lcdl286<Writel6CnCHAR(32,6,2);Delayl0ms(60);〃第3行//X可选择为/∕y选择〃第4行Lcdl286<Writel6CnCHAR(16,6,l);Delayl0ms(60);Lcdl286<Writel6CnCHAR(0,6,0);Delayl0ms(200);Lcdl2864_ClearScreen();Delayl0ms(60);Lcdl286<Writel6CnCHAR(80,2,39); 〃周Delayl0ms(60);Lcdl286<Writel6CnCHAR(64,2,38); 〃豪Delayl0ms(60);Lcdl286<Writel6CnCHAR(48,2,37); 〃制Delayl0ms(60);Lcdl286<Writel6CnCHAR(32z2,36); 〃作Delayl0ms(400);DeIaylOms(SOO);})******************************************************************************函数名*函数功能*输 入*输 出:DeIaylOms:延时函数,延时IornS:无:无*******************************************************************************voidDelaylθms(unsignedintc)〃误差Ous(unsignedchara,b;for(;c>0;c-)for(b=38;b>0;b-)for(a=130;a>0;a-);)******************************************************************************函数名*函数功能*输 入*输 出:LCD12864_WriteCmd:写入一个命令到12864:cmd:无*******************************************************************************voidLcdSt7565_WriteCmd(cmd)LCDl2864_CS=0;LCD12864_RD=1;LCDl2864_RS=0;LCD12864_RW=0;_nop_();JOP_();//chipselect,打开片选//disableread,读失能//selectcommand,选择命令//selectwrite,选择写模式DATA_PORT=cmd;//putcommand,放置命令_nop_();_nop_();LCD12864_RW=1;//commandwriting,写入命令******************************************************************************函数名*函数功能*输 入*输 出:LcdSt7565_WriteData:写入一个数据到12864:dat:无*******************************************************************************voidLcdSt7565_WriteData(dat)LCDl2864_CS=0;LCD12864_RD=1;LCDI2864_RS=1;LCD12864_RW=0;_nop_();JOP_();//chipselect,打开片选//disableread,读失能//selectdata,选择数据//selectwrite,选择写模式DATA_PORT=dat;_nop_();JOP_();//putdata,放置数据LCD12864_RW=1;)//datawriting,写数据∕*******************************************************************************函数名*函数功能输 入输 出说 明:LCD12864Jnit:初始化12864:无:无:LCD12864的命令指令可以查看例程文件夹下的《ST7565p数据于•册》*的第51页的位置。*******************************************************************************voidLcdl2864Jnit()(uchari;LCD12864_RSET=0;for(i=0;i<100;i++);LCD12864_CS=0;LCD12864_RSET=1;// StarInitialSequence ////一一程序初始化设置,具体命令可以看文件夹下-√/〃-软件初始化-〃LcdSt7565-WriteCmd(0xE2);//resetfor(i=0;i<100;i++);〃延时一下〃-表格第8个命令,OXAO段(左右)方向选择正常方向(OXAI为反方向)-//LcdSt7565-WriteCmd(0xAl);//ADCselectsegmentdirection〃-表格第15个命令,0xC8普通(上下)方向选择选择反向,OXCo为正常方向-〃LcdSt7565-WriteCmd(0xC8);//Commondirection〃-表格第9个命令,0xA6为设置字体为黑色,背景为白色--〃〃-0xA7为设置字体为白色,背景为黑色一〃LcdSt7565-WriteCmd(0xA6);//reversedisplay〃-表格第10个命令,0xA4像素正常显示,0xA5像素全开-〃LcdSt7565-WriteCmd(0xA4);//normaldisplay〃-表格第11个命令,0xA3偏压为l∕7,0xA2偏压为1/9-//LcdSt7565-WriteCmd(0xA2);//biasset1/9〃-表格第19个命令,这个是个双字节的命令,0xF800选择增压为4X;-〃〃-0xF801,选择增压为5X,其实效果差不多-√∕LcdSt7565-WrιteCmd(0xF8);//BoostratiosetLcdSt7565,WriteCmd(0x01);/∕x4〃-表格第18个命令,这个是个双字节命令,高字节为0X81,低字节可以--〃〃-选择从OXOO到0X3F。用来设置背景光对比度。一/LcdSt7565-,WriteCmd(0x81);//VOasetLcdSt7565,WriteCmd(0x23);〃-表格第
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 二零二五年超市季节性促销员劳动合同3篇
- 二零二五版智能家居砌墙装修承包合同范本2篇
- 二零二五版3海上货物运输合同-海上货物运输事故处理及赔偿协议2篇
- 二零二五版综合性博士后研究人员聘用合同书3篇
- 二零二五版物联网技术培训服务合同样本2篇
- 二零二五年度版权买卖合同(图书)5篇
- 二零二五版劳动合同法下社保购买期限及权益保障协议3篇
- 二零二五年度餐厅线上线下融合推广承包合同2篇
- 二零二五年网络广告投放合同封面素材2篇
- 二零二五版电影IP授权与赞助合同3篇
- 税前工资反算表模板
- 广东省深圳市2023年中考英语试题(含答案与解析)
- MOOC 电工学(电气工程学概论)-天津大学 中国大学慕课答案
- 2019级水电站动力设备专业三年制人才培养方案
- 室内装饰装修施工组织设计方案
- 洗浴中心活动方案
- 送电线路工程施工流程及组织措施
- 肝素诱导的血小板减少症培训课件
- 韩国文化特征课件
- 抖音认证承诺函
- 清洁剂知识培训课件
评论
0/150
提交评论