Skip to content

Commit c6674de

Browse files
authored
added port transmission
1 parent 75da1c1 commit c6674de

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)