File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ //
2
+ // Adafruit invests time and resources providing this open source code.
3
+ // Please support Adafruit and open source hardware by purchasing
4
+ // products from Adafruit!
5
+ //
6
+ // Copyright (c) 2015-2016 Adafruit Industries
7
+ // Authors: Tony DiCola, Todd Treece
8
+ // Licensed under the MIT license.
9
+ //
10
+ // All text above must be included in any redistribution.
11
+ //
12
+ #include " AdafruitIO_Dashboard.h"
13
+ #include " AdafruitIO.h"
14
+
15
+ AdafruitIO_Dashboard::AdafruitIO_Dashboard (AdafruitIO *io, const char *k)
16
+ {
17
+ _io = io;
18
+ key = k;
19
+ }
20
+
21
+ AdafruitIO_Dashboard::~AdafruitIO_Dashboard (){}
Original file line number Diff line number Diff line change
1
+ //
2
+ // Adafruit invests time and resources providing this open source code.
3
+ // Please support Adafruit and open source hardware by purchasing
4
+ // products from Adafruit!
5
+ //
6
+ // Copyright (c) 2015-2016 Adafruit Industries
7
+ // Authors: Tony DiCola, Todd Treece
8
+ // Licensed under the MIT license.
9
+ //
10
+ // All text above must be included in any redistribution.
11
+ //
12
+ #ifndef ADAFRUITIO_DASHBOARD_H
13
+ #define ADAFRUITIO_DASHBOARD_H
14
+
15
+ #include " Arduino.h"
16
+ #include " AdafruitIO_Definitions.h"
17
+
18
+ // forward declaration
19
+ class AdafruitIO ;
20
+
21
+ class AdafruitIO_Dashboard {
22
+
23
+ public:
24
+ AdafruitIO_Dashboard (AdafruitIO *io, const char *key);
25
+ ~AdafruitIO_Dashboard ();
26
+ const char *key;
27
+
28
+ private:
29
+ AdafruitIO *_io;
30
+
31
+ };
32
+
33
+ #endif // ADAFRUITIO_DASHBOARD_H
You can’t perform that action at this time.
0 commit comments