Class for interacting with Adafruit IO Dashboards. https://io.adafruit.com/api/docs/#dashboards.
More...
#include <AdafruitIO_Dashboard.h>
Class for interacting with Adafruit IO Dashboards. https://io.adafruit.com/api/docs/#dashboards.
◆ AdafruitIO_Dashboard()
AdafruitIO_Dashboard::AdafruitIO_Dashboard |
( |
AdafruitIO * |
io, |
|
|
const char * |
n |
|
) |
| |
Sets Adafruit IO Dashboard instance.
- Parameters
-
*io | Reference to Adafruit IO class. |
*n | Valid username string. |
◆ user()
const char * AdafruitIO_Dashboard::user |
( |
| ) |
|
Returns the dashboard owner.
Dashboard owner's Adafruit IO username.
- Returns
- Adafruit IO username.
◆ io()
◆ exists()
bool AdafruitIO_Dashboard::exists |
( |
| ) |
|
◆ create()
bool AdafruitIO_Dashboard::create |
( |
| ) |
|
◆ addToggleBlock()
ToggleBlock * AdafruitIO_Dashboard::addToggleBlock |
( |
AdafruitIO_Feed * |
feed | ) |
|
Creates a new toggle block element on a dashboard connected to provided feed.
- Parameters
-
*feed | Reference to an Adafruit IO feed. |
- Returns
- Toggle block dashboard element.
◆ addMomentaryBlock()
MomentaryBlock * AdafruitIO_Dashboard::addMomentaryBlock |
( |
AdafruitIO_Feed * |
feed | ) |
|
Creates a new momentary block element on a dashboard connected to provided feed.
- Parameters
-
*feed | Reference to an Adafruit IO feed. |
- Returns
- Momentary block dashboard element.
◆ addSliderBlock()
SliderBlock * AdafruitIO_Dashboard::addSliderBlock |
( |
AdafruitIO_Feed * |
feed | ) |
|
Creates a new slider block element on a dashboard connected to provided feed.
- Parameters
-
*feed | Reference to an Adafruit IO feed. |
- Returns
- Slider block dashboard element.
◆ addGaugeBlock()
Creates a new gauge block element on a dashboard connected to provided feed.
- Parameters
-
*feed | Reference to an Adafruit IO feed. |
- Returns
- Gauge block dashboard element.
◆ addTextBlock()
Creates a new momentary block element on a dashboard connected to provided feed.
- Parameters
-
*feed | Reference to an Adafruit IO feed. |
- Returns
- Text block dashboard element.
◆ addChartBlock()
Creates a new chart block element on a dashboard connected to provided feed.
- Parameters
-
*feed | Reference to an Adafruit IO feed. |
- Returns
- Chart block dashboard element.
◆ addColorBlock()
Creates a new color block element on a dashboard connected to provided feed.
- Parameters
-
*feed | Reference to an Adafruit IO feed. |
- Returns
- Color block dashboard element.
◆ addMapBlock()
Creates a new map block element on a dashboard connected to provided feed.
- Parameters
-
*feed | Reference to an Adafruit IO feed. |
- Returns
- Map block dashboard element.
◆ addStreamBlock()
StreamBlock * AdafruitIO_Dashboard::addStreamBlock |
( |
AdafruitIO_Feed * |
feed | ) |
|
Creates a new stream block element on a dashboard connected to provided feed.
- Parameters
-
*feed | Reference to an Adafruit IO feed. |
- Returns
- Stream block dashboard element.
◆ addImageBlock()
Creates a new image block element on a dashboard connected to provided feed.
- Parameters
-
*feed | Reference to an Adafruit IO feed. |
- Returns
- Image block dashboard element.
◆ name
const char* AdafruitIO_Dashboard::name |
The documentation for this class was generated from the following files: