Your program is too ambitious for a first attempt. Try something simple first.
#include <LiquidCrystal.h>
//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); // put your pin numbers here
void setup()
{
lcd.begin(16, 2); // put your LCD parameters here
lcd.print("hello, world!");
lcd.setCursor(0,1);
lcd.print("it works!");
}
void loop()
{
// do nothing in 'loop'
}
Your pictures are a bit hard to see.
I don't have the book, and most of the readers here probably don't have it either.
Don