Stuck beginner- LCD screens
hi,
i've started playing around arduino yesterday , following tutorials on lcds after playing around leds.
i've entered code:
#include <liquidcrystal.h>
liquidcrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
lcd.begin(16,2);
lcd.print("hello, world!");
}
void loop(){
}
and whenever upload sketch show:
sketch uses 1662 bytes (5%) of program storage space. maximum 32256 bytes.
global variable use 59 bytes (2%) of dynamic memory, leaving 1989 bytes local variables. maximum 2048 bytes
and nothing displayed on lcd screen. whenever clicked on serial monitor nothing appears well
i've started playing around arduino yesterday , following tutorials on lcds after playing around leds.
i've entered code:
#include <liquidcrystal.h>
liquidcrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
lcd.begin(16,2);
lcd.print("hello, world!");
}
void loop(){
}
and whenever upload sketch show:
sketch uses 1662 bytes (5%) of program storage space. maximum 32256 bytes.
global variable use 59 bytes (2%) of dynamic memory, leaving 1989 bytes local variables. maximum 2048 bytes
and nothing displayed on lcd screen. whenever clicked on serial monitor nothing appears well
most lcds have contrast adjustment. see if needs changed. beyond need show how have lcd connected arduino.
https://www.arduino.cc/en/reference/serial
whenever clicked on serial monitor nothing appears wellnone of code writes serial that's expected. see:
https://www.arduino.cc/en/reference/serial
Arduino Forum > Using Arduino > Programming Questions > Stuck beginner- LCD screens
arduino
Comments
Post a Comment