Created
December 22, 2020 07:20
-
-
Save RobolinkTeknoloji/ab70fc704f983e43eb3117182708f0b3 to your computer and use it in GitHub Desktop.
Nokia5110-Kayan-Yazi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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