Bar Graph Display

Use this section to discuss your embedded Flowcode projects.
Post Reply
Ronnyvs
Posts: 4
http://meble-kuchenne.info.pl
Joined: Thu Jan 21, 2021 7:36 pm
Has thanked: 2 times
Been thanked: 5 times

Bar Graph Display

Post 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 1943 times
Bar_Graph_Display.fcfx
(32.9 KiB) Downloaded 169 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!!

Ferla
Posts: 8
Joined: Thu Dec 03, 2020 6:20 pm

Re: Bar Graph Display

Post 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. ;)

Post Reply