void setup() {
Serial.begin(115200);
delay(500);
// by default, we'll generate the high voltage from the 3.3v line internally! (neat!)
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3D (for the 128x64)
}
void loop() {
x++;
if(x==60)x=0;
//1.檢測全屏顯示(看看有沒有大面積壞點)
display.fillScreen(WHITE);//檢測全屏顯示(看看有沒有大面積壞點)
display.clearDisplay(); // clears the screen and buffer
/*
display.clearDisplay(); // clears the screen and buffer
//2.畫點 點坐標(10,10)
display.drawPixel(20, 20, WHITE);// 列127 行63 畫點 點坐標