API for MY9221-based LED Bars.  
 More...
This file defines the MY9221 interface for libmy9221
 
    signal(SIGINT, sig_handler);
    while (!running) {
        for (int idx = 1; idx < 11; idx++) {
            usleep(1000);
        }
    }
 
  
  
  
  while (shouldRun)
    {
      
      for (int i=1; i<=10; i++)
        {
          usleep(50000);
        }
      sleep(1);
      
      for (int i=1; i<=10; i++)
        {
          usleep(50000);
        }
      sleep(1);
    }
  
      
        
          | MY9221  | 
          ( | 
          uint8_t  | 
          di,  | 
        
        
           | 
           | 
          uint8_t  | 
          dcki  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Instantiates an MY9221 object
- Parameters
 - 
  
  
 
 
 
      
        
          | mraa_result_t setBarLevel  | 
          ( | 
          uint8_t  | 
          level,  | 
        
        
           | 
           | 
          bool  | 
          direction = true  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Sets the bar level
- Parameters
 - 
  
    | level | Selected level for the bar (1 - 10)  | 
    | direction | Up or down; up is true and default  | 
  
   
 
 
Returns the name of the component 
 
 
The documentation for this class was generated from the following files:
- /var/lib/jenkins/workspace/upm-doc-stable/src/my9221/my9221.h
 
- /var/lib/jenkins/workspace/upm-doc-stable/src/my9221/my9221.cxx