# Example c code for binary command on xbee pro xsc sb3

**URL:** <https://forums.digi.com/t/example-c-code-for-binary-command-on-xbee-pro-xsc-sb3/12837>\
**Category:** XBee & XBee Gateway\
**Tags:** xsc, xbee\
**Created:** [April 17, 2014, 2:01pm UTC](https://forums.digi.com/t/example-c-code-for-binary-command-on-xbee-pro-xsc-sb3/12837 "2014-04-17T14:01:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimbarstow](https://avatars.discourse-cdn.com/v4/letter/j/7cd45c/32.png) [@jimbarstow](https://forums.digi.com/u/jimbarstow)\
**Post date:** [April 17, 2014, 2:01pm UTC](https://forums.digi.com/t/example-c-code-for-binary-command-on-xbee-pro-xsc-sb3/12837/1 "2014-04-17T14:01:35Z")

</div>

Is there some example code for executing a binary command on an xbee 900 pro xsc sb3? I’ve run out of ideas. Mr code seems correct and I’m pulling the cmd pin high as specified. I get no reply; the command is ignored.  
I’m using an arduino mega on an xbee explorer (regulated) adapter.

---

<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:** [April 25, 2014, 3:41pm UTC](https://forums.digi.com/t/example-c-code-for-binary-command-on-xbee-pro-xsc-sb3/12837/2 "2014-04-25T15:41:14Z")

</div>

Digi does not offer Sample code for that function.
