From: Michael R. <re...@eu...> - 2004-01-26 03:25:35
|
Hi Xavier, Hi List (if you ever get this one) > Hello Michael. As SF MLs have problems, I forward you this mail I posted on the ML. Right. Looks like SF having enough problems at the moment... > As the command to put one pixel is at least 5bytes long and the > transfert rate is 19200, it takes about 30seconds to write all the > display :/ I want to get to know the guy who designed this interface. I'd have some wet towels with me... > But there are some interesting features : > - The display can handle text, bars (without user characters) and > graphics togethed, so we can have some text, draw bars and display some > pixmap with the rest of the bandwith. Yes, that's right. We should use the "generic text" driver as a basis, which handles text, bar (and probably icon) widgets. But the driver may provide further "graphical" widgets... > - It support also 'inverted text', that's a good thing, for example if a > temperature hits a predefined maximum value, you should add such and > option to the text widget (and use it if the display supports it) Good idea! Today another attribute came to my mind: blinking! > Do you think it's possible to implement a time-based graph widget, and a > sort of 'fixed pixmap' widget (but which format to use for images ?) ? Everything is possible! - I want not only a time-based graph, but a general graph where x and y can be any expressions. - A "image" widget would be great! I'm going to prepare a photo of mine :-) > Moreover, GPIs are read on demand, so should we write a > plugin_cwlinux_gpi or add the function within the drv_cwlinux ? I don't > know your position on this point. I'm not shure either. I think it does not make much of a difference what kind of input you handle: a GPI, a tenmperature sensor, a fan sensor, or a keypad. OTOH, the first would be all simple plugins or functions, the latter should trigger an event. Hmmm... I think a GPI should be a function. And there sould be no plugin_*.c for this, but the function should be inside of drv_Cwlinux.c (as other plugins are at the moment, take a look at drv_MatrixOrbital). > There's still the problem of keypad handling, as the display sends the > keys directly, the driver should always be able to read this values. > Where can we implement this read ? directly drv ? plugin ? keypad.c ? Hmmm.. Give me some time on this issue. I've got three displays here with a keypad, I'll have to go through all these datasheets, and try to find a "common" solution. bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |
From: Xavier V. <xav...@fr...> - 2004-01-25 23:57:44
|
> > As the command to put one pixel is at least 5bytes long and the > > transfert rate is 19200, it takes about 30seconds to write all the > > display :/ > I want to get to know the guy who designed this interface. I'd have some > wet towels with me... lol > > - It support also 'inverted text', that's a good thing, for example if a > > temperature hits a predefined maximum value, you should add such and > > option to the text widget (and use it if the display supports it) > Good idea! Today another attribute came to my mind: blinking! Yes ! Moreover, blink will be supported by all the displays ! But there should be a blink time somewhat low, not tick. BTW, I tested "marquee text", it's great, but isn't there a way to make it slide more quikly ? It's very slow. > > Do you think it's possible to implement a time-based graph widget, and a > > sort of 'fixed pixmap' widget (but which format to use for images ?) ? > Everything is possible! > - I want not only a time-based graph, but a general graph where x and y > can be any expressions. I don't really understand what could be used as x value to get a somewhat useable graph ?! > - A "image" widget would be great! I'm going to prepare a photo of mine :-) What a great usage ;) It could be used as icons (fixed or animated). BTW, isn't there a way to toggle the display of an icon with some value to emulate a GPO (add a visible attribute to any widget, and if the expression is >0, display it). > I'm not shure either. I think it does not make much of a difference what > kind of input you handle: a GPI, a tenmperature sensor, a fan sensor, or > a keypad. OTOH, the first would be all simple plugins or functions, the > latter should trigger an event. > Hmmm... I think a GPI should be a function. And there sould be no > plugin_*.c for this, but the function should be inside of drv_Cwlinux.c > (as other plugins are at the moment, take a look at drv_MatrixOrbital). Ok > > There's still the problem of keypad handling, as the display sends the > > keys directly, the driver should always be able to read this values. > > Where can we implement this read ? directly drv ? plugin ? keypad.c ? > Hmmm.. Give me some time on this issue. I've got three displays here > with a keypad, I'll have to go through all these datasheets, and try to > find a "common" solution. At my side, I have the datasheet of the CW, but cwlinux didn't reply to me :/ You got a CC of the mail I sent, didn't you ? -- Xavier VELLO <xav...@fr...> |
From: Michael R. <re...@eu...> - 2004-01-26 05:01:45
|
Hi Xavier, >>Good idea! Today another attribute came to my mind: blinking! > > Yes ! Moreover, blink will be supported by all the displays ! But there > should be a blink time somewhat low, not tick. Of course. There will be just a new attribute. > BTW, I tested "marquee text", it's great, but isn't there a way to make > it slide more quikly ? It's very slow. The attribute is called "Speed", and descripes the time in milliseconds between two srolls. >>- I want not only a time-based graph, but a general graph where x and y >>can be any expressions. > > I don't really understand what could be used as x value to get a > somewhat useable graph ?! I promise you, I'll find one :-) > What a great usage ;) It could be used as icons (fixed or animated). > BTW, isn't there a way to toggle the display of an icon with some value > to emulate a GPO (add a visible attribute to any widget, and if the > expression is >0, display it). Good Idea, too! > At my side, I have the datasheet of the CW, but cwlinux didn't reply to > me :/ You got a CC of the mail I sent, didn't you ? Yes, I did. bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |