Skip to content

Commit 73fa37b

Browse files
committed
move basic example to basic_pubsub
1 parent 57ca892 commit 73fa37b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/basic/basic.ino renamed to examples/basic_pubsub/basic_pubsub.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Adafruit IO Basic Counter Example
2+
// Adafruit IO Basic Publish & Subscribe Example
33
//
44
// ▄████
55
// ▄███████
@@ -93,10 +93,10 @@ void setup() {
9393

9494
void loop() {
9595

96-
// this should be present at the top of your loop
96+
// io.run(); is required for all sketches.
97+
// it should always be present at the top of your loop
9798
// function. it keeps the client connected to
98-
// io.adafruit.com, and processes any data from
99-
// the server
99+
// io.adafruit.com, and processes any incoming data.
100100
io.run();
101101

102102
// save count to the 'counter' feed on Adafruit IO

0 commit comments

Comments
 (0)