# definition of Digital Output High/Low

**URL:** <https://forums.digi.com/t/definition-of-digital-output-high-low/15735>\
**Category:** XBee - 802.15.4\
**Tags:** dio, xbee\
**Created:** [November 6, 2015, 12:19pm UTC](https://forums.digi.com/t/definition-of-digital-output-high-low/15735 "2015-11-06T12:19:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jekain314](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jekain314](https://forums.digi.com/u/jekain314)\
**Post date:** [November 6, 2015, 12:19pm UTC](https://forums.digi.com/t/definition-of-digital-output-high-low/15735/1 "2015-11-06T12:19:49Z")

</div>

Can you explain the meaning of the command: ATDn 0x04 or 0x05: “Digital Output, High” and “Digital Output, Low”

Does this mean the DIOn output responds to a change in its matching input with a high or low response?  
What happens if the DIOn input is a pulse with width 1ms. Does the output change twice? The doc seems to suggest the wireless DIO follows the wired DIO so maybe the output signal simple follows the input signal.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [November 9, 2015, 11:44am UTC](https://forums.digi.com/t/definition-of-digital-output-high-low/15735/2 "2015-11-09T11:44:38Z")

</div>

Which XBee modules are you referring to and what firmware version is installed?

The function of a DIO Output High or Low (ATDnx)is in reference to setting the default value as either an output High (3V) or Low (0V).

---

<div class="post-metadata">

**Author:** ![jekain314](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jekain314](https://forums.digi.com/u/jekain314)\
**Post date:** [November 9, 2015, 2:24pm UTC](https://forums.digi.com/t/definition-of-digital-output-high-low/15735/3 "2015-11-09T14:24:20Z")

</div>

Product family XB24  
Function Set xbee 802.15.4  
Firmware 10ef  
For both xbees

I also see the command ATPR (pullup resistors) This is defaulted to 0xFF so that all DIO signals are pulled up by default. Is this true even if I am using ATD1 = 0x04? In my circuit, to I need to set the ATPR=0x00 to keep the signal defaulted to 0V?

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [November 9, 2015, 3:24pm UTC](https://forums.digi.com/t/definition-of-digital-output-high-low/15735/4 "2015-11-09T15:24:59Z")

</div>

Have you looked through [http://knowledge.digi.com/articles/Knowledge\_Base\_Article/XBee-802-15-4-Digital-Input-Output-Line-Passing/?q=xbee+DIO+line+passing&amp;l=en\_US&amp;fs=Search&amp;pn=1](http://knowledge.digi.com/articles/Knowledge_Base_Article/XBee-802-15-4-Digital-Input-Output-Line-Passing/?q=xbee+DIO+line+passing&amp;l=en_US&amp;fs=Search&amp;pn=1)

to see how to properly set up the DIO line passing function?
