From: Scott F. <sc...@st...> - 2009-05-19 10:00:08
|
Well I did something to it and now there's a bug. I'll try to fix that before I go to bed. On Tue, May 19, 2009 at 3:26 AM, Scott Flynn <sc...@st...> wrote: > I decided to work on this. I think I'm understanding the bars code. The one > thing that confuses me is pack_segments. I found that it cleaned up a lot of > garbage however, so I'm assuming that's all it's for. I only dealt with > direction east in the character creation because only east works for me. > Outside of west maybe, It might be a limitation with my CFA635. I'm ordering > a picoLCD here soon so I'll have a graphics display to play with and I can > work on a graphics version of the histogram, unless someone else picks it > up. Anyhow, there's a diff attached. > > Why don't westbound bars work? > > > On Sat, May 16, 2009 at 9:41 AM, Scott Flynn <sc...@st...> wrote: > >> I've always liked these, and would love if LCD4Linux had a histogram >> widget. Basically it's a heartbeat monitor. The bars are nice, but >> they only show the state right now. Histograms show the state over the >> past however long. Here's an example of what I mean. >> >> .....|*****|*****|*****|*****|*****|*****|*****| >> .....|.....|*****|*****|*****|*****|*****|*****| >> .....|.....|.....|*****|*****|*****|*****|*****| >> .....|.....|.....|.....|*****|*****|*****|*****| >> .....|.....|.....|.....|.....|*****|*****|*****| >> .....|.....|.....|.....|.....|.....|*****|*****| >> .....|.....|.....|.....|.....|.....|.....|*****| >> .....|.....|.....|.....|.....|.....|.....|.....| >> >> >> That may or may not show up right. Try looking at it in a terminal. >> These are the 8 special chars used for the histogram. If you have more >> special chars, you can complete the spectrum. For every row in a LCD's >> characters, the better the histogram looks. Mine has 8 rows. >> >> It basically ticks every so often and moves the history right or left, >> appending the new value representation (the LCD's special char). >> > > |