File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,11 @@ AdafruitIO_Feed* AdafruitIO::feed(const char* name)
75
75
return new AdafruitIO_Feed (this , name);
76
76
}
77
77
78
+ AdafruitIO_Group* AdafruitIO::group (const char * name)
79
+ {
80
+ return new AdafruitIO_Group (this , name);
81
+ }
82
+
78
83
AdafruitIO_Dashboard* AdafruitIO::dashboard (const char * name)
79
84
{
80
85
return new AdafruitIO_Dashboard (this , name);
Original file line number Diff line number Diff line change 16
16
#include " Adafruit_MQTT.h"
17
17
#include " AdafruitIO_Definitions.h"
18
18
#include " AdafruitIO_Feed.h"
19
+ #include " AdafruitIO_Group.h"
19
20
#include " AdafruitIO_Dashboard.h"
20
21
#include " AdafruitIO_Data.h"
21
22
#include " ArduinoHttpClient.h"
31
32
class AdafruitIO {
32
33
33
34
friend class AdafruitIO_Feed ;
35
+ friend class AdafruitIO_Group ;
34
36
friend class AdafruitIO_Dashboard ;
35
37
friend class AdafruitIO_Block ;
36
38
@@ -43,7 +45,7 @@ class AdafruitIO {
43
45
void run (uint16_t busywait_ms = 0 );
44
46
45
47
AdafruitIO_Feed* feed (const char *name);
46
-
48
+ AdafruitIO_Group* group ( const char *name);
47
49
AdafruitIO_Dashboard* dashboard (const char *name);
48
50
49
51
const __FlashStringHelper* statusText ();
You can’t perform that action at this time.
0 commit comments