This is a practice project of mine, I wanted to display the analog values (in and out) scaled on a LCD.  

The goal of this project was to practice a bit with a LCD (with backpack LCM1602 IIC).


First I wanted to display the raw analog values 0 to 1023 wich came from 10k pot. on A0.

That proved to be a bit complicated, when displaying the sensorvalue it was written left to right.

As the number became < 1000 the last digit didn't refresh. To correct this I've searched for a function that place leading zeros (or any other character of your choosing)


After that I wanted to scale the raw analog values from 0 to 5 V.

At last I used the analog input to dim a LED and placed the percentage of the power on the LCD.



Login to post a comment...

motonata1 6 months, 4 weeks ago

los dispositivos

fitter 1 year, 12 months ago

@shockmanNumeric, this is an adafruit board, you can download fritzing from

shockmanNumeric 2 years, 4 months ago

I tryd to google it too but got no luck. Your link is working, thx

Crolus 2 years, 4 months ago

I Googled it. It's available at

shockmanNumeric 2 years, 4 months ago

Hi Sorry for the question, i am new here. Can you tell me please, how to get the LCM1602 IIC to fritzing? thx