// 参照: https://github.com/baghayi/Nokia_5110/blob/master/examples/Basic/Basic.ino
#include "Nokia_5110.h"
const int RST = 2;
const int CE = 3;
const int DC = 4;
const int DIN = 5;
const int CLK = 6;
Nokia_5110 lcd = Nokia_5110(RST, CE, DC, DIN, CLK);
void setup() {
// put your setup code here, to run once:
lcd.print("Prease Wait ...");
delay(1000);
lcd.clear();
lcd.println("Nokia 5110");
}
void loop() {
// put your main code here, to run repeatedly:
}
Loading
nokia-5110
nokia-5110