| 
    Adafruit IO Arduino Library
    
   | 
 
Class for interacting with Adafruit IO Data Records. https://io.adafruit.com/api/docs/#data. More...
#include <AdafruitIO_Data.h>
Public Member Functions | |
| AdafruitIO_Data () | |
| Sets up an Adafruit IO Data Record.  | |
| AdafruitIO_Data (AdafruitIO_Feed *f) | |
| Sets up an Adafruit IO Data Record.  More... | |
| AdafruitIO_Data (AdafruitIO_Feed *f, char *csv) | |
| Sets up an Adafruit IO Data Record.  More... | |
| AdafruitIO_Data (AdafruitIO_Feed *f, const char *csv) | |
| Sets up an Adafruit IO Data Record.  More... | |
| AdafruitIO_Data (const char *f) | |
| Sets up an Adafruit IO Data Record.  More... | |
| AdafruitIO_Data (const char *f, char *csv) | |
| Sets up an Adafruit IO Data Record.  More... | |
| bool | setCSV (char *csv) | 
| Sets data to be returned by AdafruitIO_Feed subCallback.  More... | |
| bool | setCSV (const char *csv) | 
| Sets data to be returned by AdafruitIO_Feed subCallback.  More... | |
| void | setLocation (double lat, double lon, double ele=0) | 
| Sets Adafruit IO Feed location metadata.  More... | |
| void | setValue (const char *value, double lat=0, double lon=0, double ele=0) | 
| Sets Adafruit IO Feed value field.  More... | |
| void | setValue (char *value, double lat=0, double lon=0, double ele=0) | 
| Sets Adafruit IO Feed value field.  More... | |
| void | setValue (bool value, double lat=0, double lon=0, double ele=0) | 
| Sets Adafruit IO Feed value field.  More... | |
| void | setValue (String value, double lat=0, double lon=0, double ele=0) | 
| Sets Adafruit IO Feed value field.  More... | |
| void | setValue (int value, double lat=0, double lon=0, double ele=0) | 
| Sets Adafruit IO Feed value field.  More... | |
| void | setValue (unsigned int value, double lat=0, double lon=0, double ele=0) | 
| Sets Adafruit IO Feed value field.  More... | |
| void | setValue (long value, double lat=0, double lon=0, double ele=0) | 
| Sets Adafruit IO Feed value field.  More... | |
| void | setValue (unsigned long value, double lat=0, double lon=0, double ele=0) | 
| Sets Adafruit IO Feed value field.  More... | |
| void | setValue (float value, double lat=0, double lon=0, double ele=0, int precision=6) | 
| Sets Adafruit IO Feed value field.  More... | |
| void | setValue (double value, double lat=0, double lon=0, double ele=0, int precision=6) | 
| Sets Adafruit IO Feed value field.  More... | |
| char * | feedName () | 
| Returns existing Adafruit IO feed name.  More... | |
| char * | value () | 
| Converts provided value to char.  More... | |
| char * | toChar () | 
| Converts value to char.  More... | |
| String | toString () | 
| Converts value to string.  More... | |
| bool | toBool () | 
| Converts value to Boolean.  More... | |
| bool | isTrue () | 
| Checks if value is True.  More... | |
| bool | isFalse () | 
| Checks if value is False.  More... | |
| int | toInt () | 
| Converts provided String value to Integer.  More... | |
| int | toPinLevel () | 
| Checks digital pin level.  More... | |
| unsigned int | toUnsignedInt () | 
| Converts value to to an Unsigned Integer value.  More... | |
| double | toDouble () | 
| Converts value to to a double value.  More... | |
| float | toFloat () | 
| Converts value to a floating point value.  More... | |
| long | toLong () | 
| Converts value to to a long value.  More... | |
| unsigned long | toUnsignedLong () | 
| Converts value to to an unsigned long value.  More... | |
| int | toRed () | 
| Returns RR from 0xRRGGBB value.  More... | |
| int | toGreen () | 
| Returns GG from 0xRRGGBB value.  More... | |
| int | toBlue () | 
| Returns BB from 0xRRGGBB value.  More... | |
| long | toNeoPixel () | 
| Creates a RGB Tuple usable by Adafruit_NeoPixel's setPixelColor method.  More... | |
| char * | toCSV () | 
| Creates a list of comma-separated-values for an Adafruit IO data record.  More... | |
| char * | charFromDouble (double d, int precision=6) | 
| Converts from a character to a double.  More... | |
| double | lat () | 
| Returns a data record's latitude value.  More... | |
| double | lon () | 
| Returns a data record's longitude value.  More... | |
| double | ele () | 
| Returns a data record's elevation value.  More... | |
Public Attributes | |
| AdafruitIO_Data * | next_data | 
Class for interacting with Adafruit IO Data Records. https://io.adafruit.com/api/docs/#data.
| AdafruitIO_Data::AdafruitIO_Data | ( | AdafruitIO_Feed * | f | ) | 
Sets up an Adafruit IO Data Record.
| *f | A reference to an Adafruit IO Feed name. | 
| AdafruitIO_Data::AdafruitIO_Data | ( | AdafruitIO_Feed * | f, | 
| char * | csv | ||
| ) | 
Sets up an Adafruit IO Data Record.
| *f | A reference to an Adafruit IO Feed name. | 
| *csv | A reference to a comma-separated-value list. | 
| AdafruitIO_Data::AdafruitIO_Data | ( | AdafruitIO_Feed * | f, | 
| const char * | csv | ||
| ) | 
Sets up an Adafruit IO Data Record.
| *f | A reference to an Adafruit IO Feed name. | 
| *csv | A reference to a fixed comma-separated-value list | 
| AdafruitIO_Data::AdafruitIO_Data | ( | const char * | f | ) | 
Sets up an Adafruit IO Data Record.
| *f | A reference to a fixed Adafruit IO Feed name. | 
| AdafruitIO_Data::AdafruitIO_Data | ( | const char * | f, | 
| char * | csv | ||
| ) | 
Sets up an Adafruit IO Data Record.
| *f | A reference to a fixed Adafruit IO Feed name. | 
| *csv | A reference to a comma-separated-value list | 
| bool AdafruitIO_Data::setCSV | ( | char * | csv | ) | 
Sets data to be returned by AdafruitIO_Feed subCallback.
| *csv | Data to be appended to csv | 
| bool AdafruitIO_Data::setCSV | ( | const char * | csv | ) | 
Sets data to be returned by AdafruitIO_Feed subCallback.
| *csv | Data to be appended to csv | 
| void AdafruitIO_Data::setLocation | ( | double | lat, | 
| double | lon, | ||
| double | ele = 0  | 
        ||
| ) | 
Sets Adafruit IO Feed location metadata.
| lat | Latitude value for feed datum. | 
| lon | Longitude value for feed datum. | 
| ele | Elevation value for datum. | 
| void AdafruitIO_Data::setValue | ( | const char * | value, | 
| double | lat = 0,  | 
        ||
| double | lon = 0,  | 
        ||
| double | ele = 0  | 
        ||
| ) | 
Sets Adafruit IO Feed value field.
| value | Data record's value field as a char. | 
| lat | Data record's latitude field. | 
| lon | Data record's longitude field. | 
| ele | Data record's elevation field. | 
| void AdafruitIO_Data::setValue | ( | char * | value, | 
| double | lat = 0,  | 
        ||
| double | lon = 0,  | 
        ||
| double | ele = 0  | 
        ||
| ) | 
Sets Adafruit IO Feed value field.
| value | Data record's value field as a char. | 
| lat | Data record's latitude field. | 
| lon | Data record's longitude field. | 
| ele | Data record's elevation field. | 
| void AdafruitIO_Data::setValue | ( | bool | value, | 
| double | lat = 0,  | 
        ||
| double | lon = 0,  | 
        ||
| double | ele = 0  | 
        ||
| ) | 
Sets Adafruit IO Feed value field.
| value | Data record's value field, as a boolean. | 
| lat | Data record's latitude field. | 
| lon | Data record's longitude field. | 
| ele | Data record's elevation field. | 
| void AdafruitIO_Data::setValue | ( | String | value, | 
| double | lat = 0,  | 
        ||
| double | lon = 0,  | 
        ||
| double | ele = 0  | 
        ||
| ) | 
Sets Adafruit IO Feed value field.
| value | Data record's value field as a String. | 
| lat | Data record's latitude field. | 
| lon | Data record's longitude field. | 
| ele | Data record's elevation field. | 
| void AdafruitIO_Data::setValue | ( | int | value, | 
| double | lat = 0,  | 
        ||
| double | lon = 0,  | 
        ||
| double | ele = 0  | 
        ||
| ) | 
Sets Adafruit IO Feed value field.
| value | Data record's value field. | 
| lat | Data record's latitude field. | 
| lon | Data record's longitude field. | 
| ele | Data record's elevation field. | 
| void AdafruitIO_Data::setValue | ( | unsigned int | value, | 
| double | lat = 0,  | 
        ||
| double | lon = 0,  | 
        ||
| double | ele = 0  | 
        ||
| ) | 
Sets Adafruit IO Feed value field.
| value | Data record's value field. | 
| lat | Data record's latitude field. | 
| lon | Data record's longitude field. | 
| ele | Data record's elevation field. | 
| void AdafruitIO_Data::setValue | ( | long | value, | 
| double | lat = 0,  | 
        ||
| double | lon = 0,  | 
        ||
| double | ele = 0  | 
        ||
| ) | 
Sets Adafruit IO Feed value field.
| value | Data record's value field. | 
| lat | Data record's latitude field. | 
| lon | Data record's longitude field. | 
| ele | Data record's elevation field. | 
| void AdafruitIO_Data::setValue | ( | unsigned long | value, | 
| double | lat = 0,  | 
        ||
| double | lon = 0,  | 
        ||
| double | ele = 0  | 
        ||
| ) | 
Sets Adafruit IO Feed value field.
| value | Data record's value field. | 
| lat | Data record's latitude field. | 
| lon | Data record's longitude field. | 
| ele | Data record's elevation field. | 
| void AdafruitIO_Data::setValue | ( | float | value, | 
| double | lat = 0,  | 
        ||
| double | lon = 0,  | 
        ||
| double | ele = 0,  | 
        ||
| int | precision = 6  | 
        ||
| ) | 
Sets Adafruit IO Feed value field.
| value | Data record's value field. | 
| lat | Data record's latitude field. | 
| lon | Data record's longitude field. | 
| ele | Data record's elevation field. | 
| precision | Desired decimals of precision for value. | 
| void AdafruitIO_Data::setValue | ( | double | value, | 
| double | lat = 0,  | 
        ||
| double | lon = 0,  | 
        ||
| double | ele = 0,  | 
        ||
| int | precision = 6  | 
        ||
| ) | 
Sets Adafruit IO Feed value field.
| value | Data record's value field. | 
| lat | Data record's latitude field. | 
| lon | Data record's longitude field. | 
| ele | Data record's elevation field. | 
| precision | Desired decimals of precision for value. | 
| char * AdafruitIO_Data::feedName | ( | ) | 
Returns existing Adafruit IO feed name.
| char * AdafruitIO_Data::value | ( | ) | 
Converts provided value to char.
| char * AdafruitIO_Data::toChar | ( | ) | 
Converts value to char.
| String AdafruitIO_Data::toString | ( | ) | 
Converts value to string.
| bool AdafruitIO_Data::toBool | ( | ) | 
Converts value to Boolean.
| bool AdafruitIO_Data::isTrue | ( | ) | 
Checks if value is True.
| bool AdafruitIO_Data::isFalse | ( | ) | 
Checks if value is False.
| int AdafruitIO_Data::toInt | ( | ) | 
Converts provided String value to Integer.
| int AdafruitIO_Data::toPinLevel | ( | ) | 
Checks digital pin level.
| unsigned int AdafruitIO_Data::toUnsignedInt | ( | ) | 
Converts value to to an Unsigned Integer value.
| double AdafruitIO_Data::toDouble | ( | ) | 
Converts value to to a double value.
| float AdafruitIO_Data::toFloat | ( | ) | 
Converts value to a floating point value.
| long AdafruitIO_Data::toLong | ( | ) | 
Converts value to to a long value.
| unsigned long AdafruitIO_Data::toUnsignedLong | ( | ) | 
Converts value to to an unsigned long value.
| int AdafruitIO_Data::toRed | ( | ) | 
Returns RR from 0xRRGGBB value.
| int AdafruitIO_Data::toGreen | ( | ) | 
Returns GG from 0xRRGGBB value.
| int AdafruitIO_Data::toBlue | ( | ) | 
Returns BB from 0xRRGGBB value.
| long AdafruitIO_Data::toNeoPixel | ( | ) | 
Creates a RGB Tuple usable by Adafruit_NeoPixel's setPixelColor method.
| char * AdafruitIO_Data::toCSV | ( | ) | 
Creates a list of comma-separated-values for an Adafruit IO data record.
| char * AdafruitIO_Data::charFromDouble | ( | double | d, | 
| int | precision = 6  | 
        ||
| ) | 
Converts from a character to a double.
| d | Double value. | 
| precision | Desired level of decimal precision. | 
| double AdafruitIO_Data::lat | ( | ) | 
Returns a data record's latitude value.
| double AdafruitIO_Data::lon | ( | ) | 
Returns a data record's longitude value.
| double AdafruitIO_Data::ele | ( | ) | 
Returns a data record's elevation value.
| AdafruitIO_Data* AdafruitIO_Data::next_data | 
next data value in Adafruit IO data record
 1.8.13