Skip to content

Commit 7226d51

Browse files
Merge pull request #8 from cyberman54/master
Send data on specified port
2 parents 75da1c1 + c6674de commit 7226d51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/CayenneLPP/CayenneLPP.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void sendData(uint8_t port)
111111
node->getAcceleration(&x, &y, &z);
112112
lpp.addAccelerometer(7, x, y, z);
113113

114-
ttn.sendBytes(lpp.getBuffer(), lpp.getSize());
114+
ttn.sendBytes(lpp.getBuffer(), lpp.getSize(), port);
115115
}
116116

117117
void printSensors()

0 commit comments

Comments
 (0)