From: Michael R. <re...@eu...> - 2007-01-23 05:05:47
|
Hi there, > Also it is unclear how to slow down a widget, I have played with the > different speeds, the documentation is also not clear on what exactly > the tick and tack do, and what the update is for. I understand it is in > milliseconds, but it does not seem to work as advertised. You are right, all these update speeds are in milliseconds. So a value of 1000 should give you an update every second. using 'tick' and 'tack' ist just a trick: tick and tack are 'variables', which are initialized on startup (you should have a 'variables' section in your config file) note that these two are the same variables { tick 1000 } widget any { ... update tick } and widget any { update 1000 } > If I try to use the gpo widget, I get > this when it tries to run the test. > > Crystalfontz::GPO(1): GPO out of range (1..0) > Crystalfontz::GPI(1): GPI out of range (1..0) > Crystalfontz::GPO(4): GPO out of range (1..0) > Crystalfontz: gpio_draw(1): GPO out of range (0..0) > Crystalfontz: gpio_draw(1): GPO out of range (0..0) You are using the 632, right? After having a look into the code, it looks like the 632 does not have any GPOI's configured (both values are set to zero). If you could tell me the number of GPI's/GPO's, I'd modify the driver. > Also if you run lcd4linux in interactive mode how do you quit out of the > mode? The man page does not show the proper technique to stop it. I > have to kill the process to make it stop. ctrl C, or ctrl X, just seem > to be std output. Sorry,I just added this to the wiki: to leave interactive mode, just press Ctrl-D bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |