Other Parts Discussed in Thread: ENERGIA
PROGRAM IS HAS NO ERRORS BUT I AM NOT GETTING THE OUTPUT
Plz help me out with this.
PROGRAMM:-
#include <LiquidCrystal.h>
int Contrast=75;
// initialize the library with the numbers of the interface pins
//LiquidCrystal lcd(P2_0, P2_1, P2_2, P2_3, P2_4, P2_5);
LiquidCrystal lcd(5, 6, 7, 8, 9, 10);
void setup() {
analogWrite(A1,Contrast);
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("hello, world!");
}
PROGRAM 2:-
#include <LiquidCrystal.h>
int Contrast=75;
// initialize the library with the numbers of the interface pins
//LiquidCrystal lcd(P2_0, P2_1, P2_2, P2_3, P2_4, P2_5);
LiquidCrystal lcd(5, 6, 7, 8, 9, 10);
void setup() {
analogWrite(A1,Contrast);
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("hello, world!");
}