This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Change "visdimopacity & visdim"
#6
(10.08.2017, 05:56)admin Wrote:
Code:
require('uci')
uci.set('genohm-scada', 'core', 'visdimopacity', 80)
uci.set('genohm-scada', 'core', 'visdim', 3)
uci.commit('genohm-scada')

Hi Admin,

I understand what thisĀ it is supposed to do, and I want to allow the user to turn screen dimming on or off themselves. However, can you please explain how this is used in a working code example? This looks a bit like a fragment to me and I can't figure out what to do with it. I tried a few things with no joy.

Thanks!
Reply


Messages In This Thread
Change "visdimopacity & visdim" - by JMM - 09.08.2017, 12:23
RE: Change "visdimopacity & visdim" - by tassiebean - 15.06.2020, 11:55
RE: Change "visdimopacity & visdim" - by JMM - 10.08.2017, 11:24

Forum Jump: