Project Log
I am attempting to use a project I found on Instructibles and integrate an LCD1602 to display results. This will eliminate the need for the serial monitor.
I am still in the learning stages of figuring out the code. This will be an on going project. I will contribute to it as I can.
I finally am understanding the arduino code a bit better. I have studied both serial and I2C versions of other sketches to see what differences there were and applied them to mine. The sketch I have attached in the thread is easily modified to accommodate both I2C and serial versions of the LCD1602.
To use either display, comment out which ever one that you are not using. I am using I2C so I commented out the other. Be sure to change the code to reflect the address of your display. Mine here was 0x27.
This is another line I had to comment out. I got the error no matching function for call to 'LiquidCrystal_I2C::begin(int, int)' when compiling. If you plan on using the parallel version of the 1602, then uncomment this line.

I am still in the learning stages of figuring out the code. This will be an on going project. I will contribute to it as I can.
I finally am understanding the arduino code a bit better. I have studied both serial and I2C versions of other sketches to see what differences there were and applied them to mine. The sketch I have attached in the thread is easily modified to accommodate both I2C and serial versions of the LCD1602.
To use either display, comment out which ever one that you are not using. I am using I2C so I commented out the other. Be sure to change the code to reflect the address of your display. Mine here was 0x27.
Code:
LiquidCrystal_I2C lcd(0x27, 16, 2);
//LiquidCrystal lcd(1, 2, 4, 5, 6, 7); // Creates an LCD object. Arduino pins are connected to: rs, enable, D4, D5, D6, D7 respectively.
This is another line I had to comment out. I got the error no matching function for call to 'LiquidCrystal_I2C::begin(int, int)' when compiling. If you plan on using the parallel version of the 1602, then uncomment this line.
Code:
// lcd.begin(16,2);
