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( 2, 3, 9, 10, 11, 12);
- LiquidCrystal lcd(13, 12, 11, 10, 9, 8);
- 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