Arduino 5110 Red LCD Display Use Of

Connection Pins

1 vcc 5V
2 gnd gnd
3 sce 12
4 rst 11
5 d/c 10
6 dn mosi 9
7 sclk 8
8 led 3,3V

Library’s:

LCD5110_Basic
LCD5110_Graph

Codes:

#include <LCD5110_Graph.h>

LCD5110 myGLCD(8,9,10,11,12);
extern uint8_t TinyFont[];
extern uint8_t SmallFont[];
extern uint8_t MediumNumbers[];
extern uint8_t BigNumbers[];

void setup() {
  // put your setup code here, to run once:
  pinMode(7, OUTPUT);
  digitalWrite(7,LOW);
  myGLCD.InitLCD();
  myGLCD.setContrast(60);
  //myGLCD.clrScr();
}

void loop() {
  // put your main code here, to run repeatedly:
myGLCD.setFont(TinyFont);
myGLCD.print("Champions",20,0);
myGLCD.setFont(SmallFont);
myGLCD.print("FENERBAHCE",10,10);
myGLCD.setFont(BigNumbers);
myGLCD.printNumI(1907,7,25);
myGLCD.update();
delay(200); 
}