From: Yago F. H. <st...@so...> - 2010-06-03 07:06:48
|
Dear support: First I have to thank you for your good quality software and for your efforts. I am deploying a new project using an alix3.d3 motherboard and a picolcd display. It works with the widgets and I am happy enough. The problem is that it does not refresh the screen well. Some characters are not deleted after refresh and some are just not printed. Is there a workaround that can help me to solve it? Maybe the LCD is not the best I can use? Another question. Can I change the widget every x seconds to another one? Thank you |
From: Michael R. <mi...@re...> - 2010-06-04 01:21:36
|
Hi there, > First I have to thank you for your good quality software and for your > efforts. I am deploying a new project using an alix3.d3 motherboard and > a picolcd display. It works with the widgets and I am happy enough. The > problem is that it does not refresh the screen well. Some characters are > not deleted after refresh and some are just not printed. Is there a > workaround that can help me to solve it? Maybe the LCD is not the best I > can use? I think the picoLCD is ok. unfortunately I don't have one ready to test. Maybe there's a problem with double-buffering... Does 'lcd4linux -Fvv' report any errors? (probably USB errors?) > Another question. Can I change the widget every x seconds to another one? No unfortunately you can't. HTH, Michael -- Michael Reinelt <mi...@re...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Yago F. H. <st...@so...> - 2010-07-27 15:47:29
|
Dear developers: I've tried with picoLCD 2x20 with not very good results in the project I am working in, so I have bought a new LCD module picoLCD Graphic USB 256x64 with better results. This display has 5 buttons that lcd4linux reads right. The problem is that I need to give functionalities to these buttons and have tried to read the whole wiki and using the help and the plugins. I have tried to give a button the function of poweroff using the exec plugin, and to other the function to switch on and off the backlight with the command. LCD::backlight(0) LCD::backlight(1) I have tried to use the command with evaluator as expression button_action=nkey==2?LCD::backlight(0):button_action;nkey==2?1:0 But after killing and restarting lcd4linux begins to run and to send everything to the display until it comes to this line and then exits. My version is: Version 0.10.2-SVN-796 (the one that comes bundled with picolcd) Can you please help me to make it work! Thank you Yago Fernandez Hansen This is the important part of my configuration. Display picoLCD { Driver 'picoLCDGraphic' Size '256x64' Contrast 230 Backlight 1 Inverted 1 Icons 1 } Variables { tick 500 tack 100 minute 60000 n 0 nkey 0 button_text ' ' backlight 1 huaweiT 500 } # Leer las pulsaciones del display LCD Widget TimerW { class 'Timer' expression n=LCD::GPI(1);nkey=n!=0?n:nkey active 1 update tack } Widget GPO_kf1 { class 'GPO' expression button_action=nkey==1?file::readline('/mnt/cfdata/logs/lcd2.txt',1):button_action;nkey==1?1:0 update 100 } Widget GPO_kf2 { class 'GPO' expression button_action=nkey==2?exec('poweroff', 1000):button_action;nkey==2?1:0 update 100 } Widget Button_action { class 'Text' expression button_action width 44 update tack } Layout picoLCD { # Layer 1 { # X0.Y0 'BandwidthImage' # } # Layer 1 { # X0.Y0 'CpuImage' # } Row1 { Col1 'CPULabel' Col6 'CPU' Col11 'CPUBar' Col23 'RAMLabel' Col28 'RAMFree' Col33 'RAMTotal' } Row2 { Col1 'FSSpaceLabel' Col6 'FSSpace' # Col1 'IDELabel' # Col6 'IDEIn' # Col17 'IDEOut' Col23 'ACTLabel' Col28 'IDEBar' } Row3 { Col1 'ETHLabel' # Col6 'ETHIn' # Col17 'ETHOut' Col11 'ETHBar' Col23 'PPPLabel' # Col24 'HuaweiOperator' # Col34 'HuaweiMode' } Row4 { } Row5 { Col1 'WLAN1Label1' Col8 'WLAN1FREQ' Col14 'WLAN1MODE' # Col26 'WLAN1Label3' # Col32 'WLAN1SIGNAL' Col23 'WLAN2Label1' Col30 'WLAN2FREQ' Col36 'WLAN2MODE' # Col26 'WLAN2Label3' # Col32 'WLAN2SIGNAL' } Row6 { Col1 'StatusLCD' } Row7 { Col1 'Button_action' } Row8 { Col1 'Time' Col10 'WSOS' # Col22 'Uptime' # Col1 'Uptime' # Col1 'BottomTicker' } #Layer 2 { # X0.Y0 'ImageTest' #} Timer1 'TimerW' GPO2 'GPO_kf1' GPO3 'GPO_kf2' } Display 'picoLCD' Layout 'picoLCD' |
From: jose <jos...@ya...> - 2012-02-05 21:15:15
|
Hello. First sorry my poor english. I buy on eBay the sure-electronics LCD model "DE-LP14113". First i test on windows. Its work very well. Second, lcd its for machine with debian stable (actually version 6). I install lcd4linux (apt-get install ....) and when try to configure as matrix orbital (same as lcdsmartie) but an error appear. Next i decide do download the SVN zip from web, extract and compile (no especial requirements). Now works on debian, and this is my config file: Variables { tick 500 tack 100 minute 60000 archivo '/tmp/lcd4linux.tmp' } Display LD021 { Driver 'MatrixOrbital' Model 'DE-LD021' Port '/dev/ttyUSB0' Speed 9600 Contrast 0 BackLight 1 } Widget Busy { class 'Text' expression proc_stat::cpu('busy', 500) prefix 'CPU' postfix '%' width 10 precision 1 align 'R' update 1000 } Widget BusyBar { class 'Bar' expression proc_stat::cpu('busy', 500) expression2 proc_stat::cpu('system', 500) length 4 direction 'N' update tack } Widget Eth0BarRx { class 'Bar' expression netdev('eth0', 'Rx_bytes', 500) #expression2 netdev('eth0', 'Tx_bytes', 500) length 2 direction 'N' update tack } Widget Eth0BarTx { class 'Bar' #expression2 netdev('eth0', 'Rx_bytes', 500) expression netdev('eth0', 'Tx_bytes', 500) length 2 direction 'N' update tack } Widget Eth1BarRx { class 'Bar' expression netdev('eth1', 'Rx_bytes', 500) #expression2 netdev('eth1', 'Tx_bytes', 500) length 2 direction 'N' update tack } Widget Eth1BarTx { class 'Bar' #expression2 netdev('eth1', 'Rx_bytes', 500) expression netdev('eth1', 'Tx_bytes', 500) length 2 direction 'N' update tack } Layout discos { Row1 { Col2 'file1' Col1 'Busybar' Col19 'eth0barrx' Col20 'eth0bartx' } Row2 { Col2 'file2' } Row3 { Col2 'file3' Col19 'eth1barrx' Col20 'eth1bartx' } Row4 { Col2 'file4' } } Display 'LD021' Layout 'discos' I remove some of widgets . This sample show on left a vertical bar to cpu use and four vertical bars on rigth to check stat of two networks. On center i write the conten of '/tmp/lcd4linux.tmp' generated by a script, and auto-update every 10 minutes (crontab). Good luck. |
From: Levon A. <lev...@gm...> - 2012-03-14 11:05:15
|
Yago Fernandez Hansen <sti@...> writes: > Dear developers: > I've tried with picoLCD 2x20 with not very good results in the project I am working in, so I have bought a new > LCD module picoLCD Graphic USB 256x64 with better results. This display has 5 buttons that lcd4linux reads right. > The problem is that I need to give functionalities to these buttons and have tried to read the whole wiki and using the > help and the plugins. I have tried to give a button the function of poweroff using the exec plugin, and to other the > function to switch on and off the backlight with the command. > LCD::backlight(0) > LCD::backlight(1) > I have tried to use the command with evaluator as > expression button_action=nkey==2?LCD::backlight(0):button_action;nkey==2?1:0 > But after killing and restarting lcd4linux begins to run and to send everything to the display until it comes to this line > and then exits. > My version is: Version 0.10.2-SVN-796 (the one that comes bundled with picolcd) > Can you please help me to make it work! > Thank you > Yago Fernandez Hansen Dear Yago, Maybe it is too late but here how i managed to enable backlight toggling with my picolcd. Widget keyhome { class 'Keypad' position 'left' state 'pressed' expression LCD::backlight(test::onoff(1)) } Layout picoLCD { Row1 { } ... Row8 { } Keypad1 'keyhome' } Best regards, Levon. |