# IO output state change

**URL:** <https://forums.digi.com/t/io-output-state-change/633>\
**Category:** XBee - Zigbee\
**Created:** [January 5, 2011, 3:24pm UTC](https://forums.digi.com/t/io-output-state-change/633 "2011-01-05T15:24:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akpc806a](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@akpc806a](https://forums.digi.com/u/akpc806a)\
**Post date:** [January 5, 2011, 3:24pm UTC](https://forums.digi.com/t/io-output-state-change/633/1 "2011-01-05T15:24:52Z")

</div>

Hi there!

I’m trying to blink led that connected to pin DIO0 at remote XBP24-ZB module (endpoint API, firmware version 2970) by sending command D0 with parameter 4/5.  
What is really boring: change of pin state is so slow, more than 1 sec after sending command!( Is it normal? How can be possible to control IO outputs faster?

I’ve searched the forum and found only this topic  
[http://forums.digi.com/support/forum/viewthread\_thread,608\_offset,10](http://forums.digi.com/support/forum/viewthread_thread,608_offset,10)  
but no suggestions here

---

<div class="post-metadata">

**Author:** ![akpc806a](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@akpc806a](https://forums.digi.com/u/akpc806a)\
**Post date:** [January 8, 2011, 7:28pm UTC](https://forums.digi.com/t/io-output-state-change/633/2 "2011-01-08T19:28:45Z")

</div>

I think I found the solution.  
The problem was in the format of Remote AT Command Request API frame. I set a field “Frame ID” to 0 because do not want to receive ACK responses. Now I set the value to 1 and everything works much faster.

The only one strange thing remains. When toggling output really fast the pin state sometimes not change, but from the comand response and status - everything is normal…

---

<div class="post-metadata">

**Author:** ![titoli](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@titoli](https://forums.digi.com/u/titoli)\
**Post date:** [September 22, 2011, 10:02pm UTC](https://forums.digi.com/t/io-output-state-change/633/3 "2011-09-22T22:02:01Z")

</div>

How do you do? can you give an example???  
thanks
