Ok, but how can i get a solution for my problem ?
My bargraph should look like an old power output of a stereo right and left channel.
Starting in the middle of the lcd row and goes to left [u:fcc3eb3a50]or[/u:fcc3eb3a50] right.
It should show me the position of the rudder from my boot.
My rudder has max 45°, so i use 1 full digit for 5° ( 5x8 pixel ) and then 1 per digit column for 1°.
That's why i have 8 deflcdchar's, 1-4° for left and right.
I use 9 digits for left and 9 for right (max 45°) , because the digits 1 and 20 should show my the tendency and
i will use there a "<" for "it goes left" and ">" for "it goes right" depending on the value before the actual value.
Now my problem is that i want to code that as a function that delivers me a string with 18 chars,
include spaces where required.
Any Ideas ? :(
↧