Page 1 of 1

Bar Graph Display

Posted: Sat Feb 13, 2021 1:28 pm
by Ronnyvs
This Bar graph Display "shows" a value between a minimum and maximum.
it's made in FC8, but can also be used in other versions...

It's shows visual where the value is on its scale between his min-max values.

You can give in the number of characters and number of lines of the used display.
So the bar graph is always the lowest line from the display.

In the emulated mode, it won't show the Bar Graph, because the characters used to make the Graph are custom made.
So only on a real display!
Bargraph_display.jpeg
Bargraph_display.jpeg (76.38 KiB) Viewed 1991 times
Bar_Graph_Display.fcfx
(32.9 KiB) Downloaded 172 times
Explaining picture (Example)
min-value=8
max value=30
display size=16 (usable size is 14 due to the brackets)
every character has 5 dots horizontal... so 14x5=70 positions of te bar
the scale is from 0 to 14 including calculated decimals.

12 - actual value
2.55 - value of number "12" on the scale of 0-14 with 22 (30-8) usable values
2 - full number as integer
55 - decimal number
(these numbers are displayed to "understand" the calculation, of course you can leave them out in the project)

I'm stil working on a full menu with this bar-graph implemented. when it's ready(according to the time i have :) ), i will (of course) share it on this site!

Enjoy!!

Re: Bar Graph Display

Posted: Mon Feb 15, 2021 8:59 pm
by Ferla
In the age of GLCDs, smart displays and touchscreens, this simple project is sure to come in handy.
I really appreciate these things, simplicity always pays off. Great.
It makes me feel young again, when I wanted to make a lambda sensor reader for my car with 16x2 display.
Thanks for your project. ;)