Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Testa LCD
- int Teste = 8080;
- #include <LiquidCrystal.h> //Inclui a biblioteca do LCD
- LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
- void setup() {
- lcd.begin(16, 2); //Inicia o LCD com dimensões 16x2(Colunas x Linhas)
- }
- void loop(){
- lcd.clear();// Limpa do buffer do LCD
- lcd.setCursor(0, 0);
- lcd.print("Imprimindo TXT");
- lcd.setCursor(0, 1);
- lcd.print("Linha 1");
- lcd.setCursor(10, 1);
- lcd.print(Teste);
- delay(500);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement