[XBee] Fixed typos in examples
This commit is contained in:
parent
10dac07f57
commit
7381ae6176
1 changed files with 3 additions and 3 deletions
|
@ -46,11 +46,11 @@ void loop() {
|
|||
// check if XBee received some data
|
||||
if (bee.available() > 0) {
|
||||
// print source address
|
||||
Serial.print("[XBee] Packet source:\t");
|
||||
Serial.print(F("[XBee] Packet source:\t"));
|
||||
Serial.println(bee.getPacketSource());
|
||||
|
||||
// print data
|
||||
Serial.print("[XBee] Packet data:\t");
|
||||
Serial.print(F("[XBee] Packet data:\t"));
|
||||
Serial.println(bee.getPacketData());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue