Private Sub Departure
pinGreenLED.DigitalWrite(True) 'lights the green LEDs at the start of the session or in the event of RESET on the ARDUINO UNO card (3 places remain defined on line 42)
LCD.Backlight = True
LCD.Clear
LCD.SetCursor(0,0)
LCD.Write(" CENTRAL PARKING ")
LCD.SetCursor(3,1)
LCD.Write(NumberFormat(Places,2,0))
LCD.SetCursor(5,1)
LCD.Write(" FREE PLACES ")
LCD.SetCursor(0,2)
LCD.Write(" WELCOME ")
LCD.SetCursor(0,3)
LCD.Write(" ")
End Sub
I didn't remove any libraries and the line:
"LCD.BackLight = True" becomes incomprehensible for B4R
I don't think so, information would have been released, I think. The error does not come from ARDUINO but from B4R, that's what surprises me.
I tried a library created by a specialist but to no avail.
No Klaus, I just tried this library, without success, so I came back to the well-known library rLiquidCrystalI2C.
I will try to reinstall it after removing the old versions of B4R.
Sorry, guys. I deleted the old files from the rLiquidCrystalI12c library which I re-uploaded from the B4X pages and reinstalled the new files and like magic the errors disappeared.
I will never understand what happened. All my B4R applications using LCD screens are working without bugs again.
I apologize for this unnecessary inconvenience.
Sincerely.