Skip to content

Instantly share code, notes, and snippets.

@RobolinkTeknoloji
Created December 22, 2020 07:20
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 RobolinkTeknoloji/ab70fc704f983e43eb3117182708f0b3 to your computer and use it in GitHub Desktop.
Save RobolinkTeknoloji/ab70fc704f983e43eb3117182708f0b3 to your computer and use it in GitHub Desktop.
Nokia5110-Kayan-Yazi
#include <LCD5110_Graph.h>
LCD5110 myGLCD(8,9,10,11,12);
extern uint8_t SmallFont[];
int y;
void setup()
{
myGLCD.InitLCD();
myGLCD.setFont(SmallFont);
randomSeed(analogRead(0));
}
void loop()
{
y = random(0, 40);
for (int i=84; i>=-(34*6); i--)
{
myGLCD.print(" Robolink Teknoloji ", i, y);
myGLCD.update();
delay(50);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment