can never get a LCD to work with UNO

66knuckles, there are multiple versions of Michaels book so just saying page 366 or the
Arduino Cookbook is not good enough.
It is the 2nd edition.

With embedded s/w which involves manipulating hardware it all about the details.
So far you are not providing enough accurate detailed information for anyone to be able
to detect what you have done. Which makes it impossible for a "second set of eyes"
to see any mistakes. We are not there so we can't see what you see so you must provide
all the information. Think of it this way. If we were to reproduce EXACTLY what you have
at our location, how could we do that with 100% certainty? The 100% part is crucial.
The only way that there can be 100% certainty is to provide the exact code that is running
and visual information of your exact hardware rather than written information which is subject to error.
That is why we need a photograph of your lcd wiring as well as information for the exact
LCD module you are using.

Anything else and were stuck guessing, which is wasting time.

Michael presented very good and detailed 3 pages of how to wire it up and get it working,
including a sample sketch (as shown in reply #26) and even a really nice wiring diagram on page 365
(attached) and some debugging information in the section.
The one thing that Michaeal forgot mention as it would seem to be obvious
is that the connections to the LCD module must be soldered.

--- bill