Go Down

Topic: Arduino Printing to LCD from Serial Port (Read 492 times) previous topic - next topic


Help Please,
I am trying to get my Arduino to print out on an LCD screen attached to the Arduino but all it is doing is printing to the serial port. I want to be able to enter something in the serial port text box and have it print onto the LCD screen?


Hello and welcome :)

Show your code and we might be able to help :)


Sorry I forgot some of my code...

#include <LiquidCrystal.h>

LiquidCrystal lcd(8, 9, 4, 5, 6, 7);

void setup() {
    lcd.begin(16, 2);
    lcd.setCursor(0, 0);


void loop(){

  //set text alignment to left as default
        if( alignLEFT ) {
     if (!hideTop) lcd.print("Date");
     lcd.setCursor(0, 1);
     if (!hideBot) lcd.print("Nov. 19th");
         //set text alignment to the right       
        if( alignRIGHT ){
     if (!hideTop) lcd.print("            Date");
            lcd.setCursor(0, 1);
     if (!hideBot)lcd.print("       Nov. 19th");
        lcd.setCursor(0, 0);


Where are alignLEFT, alignRIGHT, hideTop and hideBot defined or updated?

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131