API for DS1808 Dual Log Digital Potentiometer as a Light Controller.  
 More...
The Maxim Integrated DS1808 Dual Log Digital Potentiometer
- ID: ds1808lc 
 
- Name: Maxim DS1808 as lighting controller 
 
- Other Names: DS1808LC 
 
- Category: light 
 
- Manufacturer: maxim 
 
- Connection: i2c 
 
 | 
| 
  | DS1808LC (int gpioPower, int i2cBus) | 
|   | 
  
  
      
        
          | const char* getModuleName  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineprotectedvirtual   | 
  
 
Returns name of module. This is the string in library name after libupm_
- Returns
 - name of module 
 
Implements IModuleStatus.
 
 
Get power state
- Returns
 - true if powered, false otherwise
 
- Exceptions
 - 
  
  
 
Implements ILightController.
 
 
Get brightness
- Returns
 - brightness as percentage
 
- Exceptions
 - 
  
  
 
Implements ILightController.
 
 
  
  
      
        
          | void setBrightness  | 
          ( | 
          int  | 
          percent | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
The documentation for this class was generated from the following files:
- /iotdk/jenkins/workspace/upm-doc-stable/src/ds1808lc/ds1808lc.hpp
 
- /iotdk/jenkins/workspace/upm-doc-stable/src/ds1808lc/ds1808lc.cxx