API for the Button.  
 More...
- ID: button 
 
- Name: Button 
 
- Other Names: Grove Button 
 
- Category: button 
 
- Manufacturer: seeed 
 
- Connection: gpio 
 
- Kit: gsk
 
Basic UPM module for the button sensor
 
    
    
    while( 1 ) {
        std::cout << button->
name() << 
" value is " << button->
value() << std::endl;
 
        sleep(1);
    }
    
    delete button;
 
 | 
| 
mraa_gpio_context  | gpio | 
|   | 
| 
uint8_t  | gpio_pin | 
|   | 
| 
bool  | isr_installed | 
|   | 
The documentation for this struct was generated from the following file:
- /iotdk/jenkins/workspace/upm-doc-stable/src/button/button.h