We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ca892 commit 73fa37bCopy full SHA for 73fa37b
examples/basic/basic.ino renamed to examples/basic_pubsub/basic_pubsub.ino
@@ -1,5 +1,5 @@
1
//
2
-// Adafruit IO Basic Counter Example
+// Adafruit IO Basic Publish & Subscribe Example
3
4
// ▄████
5
// ▄███████
@@ -93,10 +93,10 @@ void setup() {
93
94
void loop() {
95
96
- // this should be present at the top of your loop
+ // io.run(); is required for all sketches.
97
+ // it should always be present at the top of your loop
98
// function. it keeps the client connected to
- // io.adafruit.com, and processes any data from
99
- // the server
+ // io.adafruit.com, and processes any incoming data.
100
io.run();
101
102
// save count to the 'counter' feed on Adafruit IO
0 commit comments