void init_SSD1330()
{
writec300(0xfd); // command lock
writec300(0x12);
writec300(0xae); // display off
writec300(0xa4); // Normal Display mode
writec300(0x15); //set column address
writec300(0x00); //column address start 00
writec300(0x5f); //column address end 95
writec300(0x75); //set row address
writec300(0x00); //row address start 00
writec300(0x3f); //row address end 63
writec300(0x87); //master current control
writec300(0x08); //9/16(160uA)
writec300(0x83); //Set Contrast for Color R
writec300(0x85); //c0 a0 //e5
writec300(0x82); //Set Contrast for Color G
writec300(0x79); //65 //85
writec300(0x81); //Set Contrast for Color B
writec300(0x90); //95 b5 // e5
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余3页未读,立即下载