Salve
ho un problema con il diplay in link. Utilizzando il codice sotto, lo schermo risponde al comando di lampeggio della illuminazione ma non scrive nulla.
/*-----( Import needed libraries )-----*/
#include <Wire.h> // Comes with Arduino IDE
#include <LiquidCrystal_I2C.h>
/*-----( Declare Constants )-----*/
//none
/*-----( Declare objects )-----*/
// set the LCD address to 0x27 for a 20 chars 4 line display
// Set the pins on the I2C chip used for LCD connections:
// addr, en,rw,rs,d4,d5,d6,d7,bl,blpol
LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); // Set the LCD I2C address
/*-----( Declare Variables )-----*/
//none
void setup() /*----( SETUP: RUNS ONCE )----*/
{
lcd.begin(16, 2);
// ------- Quick 3 blinks of backlight -------------
for(int i = 0; i< 3; i++)
{
lcd.backlight();
delay(250);
lcd.noBacklight();
delay(250);
}
lcd.backlight(); // finish with backlight on
//-------- Write characters on the display ----------------
// NOTE: Cursor Position: CHAR, LINE) start at 0
lcd.clear();
lcd.setCursor(1,0); //Start at character 4 on line 0
lcd.print("Hello");
delay(1000);
lcd.setCursor(1,1);
lcd.print("...");
delay(1000);
}/*--(end setup )---*/
void loop() /*----( LOOP: RUNS CONSTANTLY )----*/
{
}/* --(end main loop )-- */
/* ( THE END ) */
ho utilizzato diverse librerie ma con lo stesso risultato, io non ho idea...