XBee - updated example
This commit is contained in:
parent
0a32e985bf
commit
305ee6e6ed
1 changed files with 17 additions and 15 deletions
|
@ -1,11 +1,11 @@
|
||||||
/*
|
/*
|
||||||
* KiteLib XBee API Transmit Example
|
KiteLib XBee API Transmit Example
|
||||||
*
|
|
||||||
* This example transmits packets using XBee API mode.
|
This example transmits packets using XBee API mode.
|
||||||
* In API mode, many XBee modules can form a mesh network.
|
In API mode, many XBee modules can form a mesh network.
|
||||||
*
|
|
||||||
* IMPORTANT: Before uploading this example, make sure that the XBee module
|
IMPORTANT: Before uploading this example, make sure that the XBee module
|
||||||
* is running API COORDINATOR firmware!
|
is running API COORDINATOR firmware!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
|
@ -54,4 +54,6 @@ void loop() {
|
||||||
Serial.print(F("failed, code "));
|
Serial.print(F("failed, code "));
|
||||||
Serial.println(state);
|
Serial.println(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delay(1000);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue