Skip to content

Instantly share code, notes, and snippets.

@listrophy
Last active December 20, 2015 21:28
Show Gist options
  • Save listrophy/6197464 to your computer and use it in GitHub Desktop.
Save listrophy/6197464 to your computer and use it in GitHub Desktop.
ATID 2718 # personal area network ID (must match other XBee's ATID)
ATMY 1 # my address (must match other XBee's ATIA)
ATDH 0 # destination address high
ATDL 2 # destination address low (must match other XBee's ATMY)
ATD0 3 # Set AD/DIO 0 (pin 20) to digital input
ATIR 14 # sample rate
ATPR 0 # no pull-up resistors
ATWR # save settings
ATID 2718 # personal area network ID (must match other XBee's ATID)
ATMY 2 # my address (must match other XBee's ATDL)
ATIA 1 # Input (remote) address (must match other XBee's ATMY)
ATD0 5 # Set Ad/DIO 0 (pin 20) to digital output–high
ATWR # save settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment