Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Chainable_RGB_LED mbed mbedConnectorInterface mbedEndpointNetwork
Fork of IoT_LED_demo by
SliderResource Class Reference
TemperatureResource class. More...
#include <SliderResource.h>
Public Member Functions | |
| SliderResource (const Logger *logger, const char *name, const bool observable=false) | |
| Default constructor. | |
| virtual string | get () |
| Get the value of the slide potentiometer. | |
Detailed Description
TemperatureResource class.
Definition at line 34 of file SliderResource.h.
Constructor & Destructor Documentation
| SliderResource | ( | const Logger * | logger, |
| const char * | name, | ||
| const bool | observable = false |
||
| ) |
Default constructor.
- Parameters:
-
logger input logger instance for this resource name input the resource name observable input the resource is Observable (default: FALSE)
Definition at line 43 of file SliderResource.h.
Member Function Documentation
| virtual string get | ( | ) | [virtual] |
Get the value of the slide potentiometer.
- Returns:
- string containing the slider value from 0-1.00
Definition at line 50 of file SliderResource.h.
Generated on Tue Jul 12 2022 20:37:46 by
1.7.2
