Bill,
I am doing pretty good with your suggested code but in implementing it with other code I have written, I have a couple of issues.
Do I reallyt need:
{
int istatus;
istatus = lcd.begin(16,2);
if(istatus)
{
// LCD initalization failed.
// handle it anyway you want
if(istatus < 0)
istatus = -istatus;
lcd.fatalError(istatus); // blinks error if LED_BUILTIN is defined
}
The ProMicro doesn't really have easy access to an onboard LED. They are so bright anyway that I have them turned off in the beginning of my code. I have plenty of blinkies on my PCB
I was just going to replace it all with "lcd.begin(16,2)" but thought I would see why you suggested I use these few lines before jumping ahead.
I have another question but thought I should keep the dialog brief.
Greg