I2C issues - display not printing

Hi Jim, I tried but with no success. Thanks anyway for the support and kindness!

Hey, thank you so much, I will try this route as soon as the kids are in bed. Thank you, much appreciated!
nothing is intimidating, it's all about learning, then it's fine!

Well, if the I2C scanner and "Hello World" sketch work, then obviously there is nothing wrong with the LCD or the LiquidCrystal_I2C library, so no need to try different libs or displays. It must be one of the other libraries you are using that is interfering with the I2C but I'm not sure which.

All I can suggest is to comment out the different libraries and see which is causing the problem.

Maybe not your main problem but in line 86 here (and at other places):

  if (interrupt_time - var.last_interrupt_time > cst.antiRebond) {

you're comparing the result of uint32_t subtraction with a uint8_t (antiRebond). Erroneous answers ensue.

All millis() math should be done with uint32_t types.

I agree.
I missed that a "Hello World" sketch was working in post #3
--- bill

If I had to guess, it is possible that the code is being interrupted to death before setup() completes.

Maybe have a look at the attachInterrupt() stuff and pin usage. (pins 0 an 1 are being used)
The setup() is using attachInterrupt() in a non recommend way.

A quick test might be to initialize the LCD and print something early in setup() before you call attachinterrupt()

--- bill

I don't know how, but I just tried and swap a different LCD screen and it worked...totally random and unexpected, so for now, happy days (but without knowing why which is annoying).

Thanks for your help!