Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobolinkAkademi/63d753dfdb234f4a613f2e9ca9f43af6 to your computer and use it in GitHub Desktop.
Save RobolinkAkademi/63d753dfdb234f4a613f2e9ca9f43af6 to your computer and use it in GitHub Desktop.
arduino ile nokia 5110 ekran kullanimi
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_PCD8544.h>
Adafruit_PCD8544 display = Adafruit_PCD8544(7, 6, 5, 4, 3);
void setup()
{
Serial.begin(9600);
display.begin();
display.setContrast(50);
display.clearDisplay();
}
void loop()
{
display.display();
delay(2000);
display.clearDisplay();
display.setTextSize(1);
display.setTextColor(BLACK);
display.setCursor(18,12);
display.println("Robolink");
display.setCursor(15, 27);
display.println("Akademi");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment