I have a program which prints to the lcd screen, I was wondering if I can have it also print to the serial monitor at the same time.
I tried serial.begin, but just got errors.
Serial.begin
Serial.println
I think, you need this solution:
#include <LiquidCrystal.h> LiquidCrystal lcd(13, 12, 11, 10, 9, 8); void setup() { lcd.begin(16, 2); Serial.begin(9600); } void loop() { lcd.setCursor(0, 0); lcd.print(); // print something Serial.println(); // print Serial }
Serial.begin
function to print to the serial monitor instead ofSerial.println
function. Am I right, user443? – R. Gadeev