DS1808LC Class
- ID: ds1808lc
- Name: Lighting Controller
- Other Names: DS1808LC
- Category: light
- Manufacturer: maxim
- Connection: i2c
- Link: http://www.maximintegrated.com/en/products/analog/data-converters/digital-potentiometers/DS1808.html
The Maxim Integrated DS1808 Dual Log Digital Potentiometer
Item Index
Methods
DS1808LC
(
Number
-
gpioPower
-
i2cBus
Parameters:
-
gpioPower
Numberundefined
-
i2cBus
Numberundefined
Returns:
Number:
getModuleName
()
String
Returns name of module. This is the string in library name after libupm_
Returns:
String:
name of module
isPowered
()
Boolean
Get power state
Returns:
Boolean:
true if powered, false otherwise
setPowerOn
()
Turn on power
setPowerOff
()
Turn off power
getBrightness
()
Number
Get brightness
Returns:
Number:
brightness as percentage
setBrightness
(
-
percent
Set brightness
Parameters:
-
percent
Numberbrightness as percentage