LCD I2C Coding

I must be getting very rusty as I haven’t coded Arduino for a couple of years. That’s the problem with using contractors.

I’m trying to use a 16x2 LCD display with I2C connectivity. Displaying characters is fine but I keep getting compilation errors when trying to display integers. I tried converting the integer to a string but no luck as yet.

Can someone point me to a tutorial?

Thanks,

Gerard

1 Like

Show the code you are using and the errors you are getting. The display does not distinguish between characters and numbers, so there is something odd in the code you are using. If you show the code someone can identify the oddity.

2 Likes

Thanks. I’ll dig it out.

I am actually using Tinkercad to simulate the device. Maybe Tinkercad isn’t all that good.