nodemcu 驱动诺基亚5110屏幕

#include "Nokia_5110.h"

#define RST D2
#define CE D3
#define DC D4
#define DIN D5
#define CLK D6

Nokia_5110 lcd = Nokia_5110(RST, CE, DC, DIN, CLK);


void setup() {
    /**
     * Note: if instead of text being shown on the display, all the segments are on, you may need to decrease contrast value.
     */
    //lcd.setContrast(60); // 60 is the default value set by the driver
    
    lcd.print("Please Wait ...jpg");
    delay(1000);
    lcd.clear();

    lcd.print("Hi there");
    lcd.println(":D");

    lcd.setCursor(0, 5);
    lcd.println("1 2 3 ...jpg");
}

void loop() {}
微信群
微信群
微信客服
微信客服
分享本页
返回顶部
项目初期,精力都在做产品上,网站速度有点慢,请谅解!