Product reference: https://s.click.aliexpress.com/e/_DmDdEGH
An error where 2 lines out of 4 are having a white background. There is an easy solution for having this problem where 1 and 3 lines are showing white blocks. The lcd is actually 2 lines of 40 characters. Giving this information to LiquidCrystal library fixes the problem.
Source code viewer
#include <LiquidCrystal.h> // ... #define LCD_HEIGHT 2 #define LCD_WIDTH 40 // ... void setup() { // ... lcd.begin(LCD_WIDTH, LCD_HEIGHT); // ... }Programming Language: C++