Skip to content

Commit e0a5474

Browse files
authored
Merge pull request #26 from laurentva/master
Made range protocol remote too
2 parents aaa0d6d + 80d7928 commit e0a5474

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tutorials/ready_to_range.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def setup(self):
4242
# do the same for the destination.
4343
self.pozyx.setLedConfig(led_config, self.destination_id)
4444
# set the ranging protocol
45-
self.pozyx.setRangingProtocol(self.protocol)
45+
self.pozyx.setRangingProtocol(self.protocol, self.remote_id)
4646

4747
def loop(self):
4848
"""Performs ranging and sets the LEDs accordingly"""

0 commit comments

Comments
 (0)