تماشای ویدئو Arduino Nokia 5110 LCD Tutorial #1 Connecting and Initial Programming از آی-ویدئو

Detailed tutorial on connecting and programming the Nokia 5110 LCD. In this first part I'm only concerned with sending the bare minimum of commands so that something appears on the screen (all pixels on in this case). Code is written from scratch, no libraries are used in this tutorial. Code is listed below. #define RST 12 #define CE 11 #define DC 10 #define DIN 9 #define CLK 8 void LcdWriteCmd(byte cmd) { digitalWrite(DC, LOW); //DC pin is low for commands digitalWrite(CE, LOW); shiftOut(D
16 بهمن 1395
آی-ویدئو