# Digitial IO pins

**URL:** <https://www.ruby-forum.com/t/digitial-io-pins/106338>\
**Category:** GNU Radio\
**Created:** [June 8, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/digitial-io-pins/106338 "2007-06-08T18:58:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeffrey\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@Jeffrey\_K](https://www.ruby-forum.com/u/Jeffrey_K)\
**Post date:** [June 8, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/digitial-io-pins/106338/1 "2007-06-08T18:58:51Z")

</div>

Hello.

I have a couple of questions about the digitial IO pins, and if  
someone could point me in the right direction I would appreciate it. I  
have a DBSRX on side A and a RFX1800 on side B. I wish to output on a  
single IO pin. I have tried the following code:

python

> > > from gnuradio import usrp  
> > > sink = usrp.sink\_c(0, 64)  
> > > sink.\_write\_oe(1, 0x0001, 0xffff)  
> > > sink.\_write\_io(1,1,0xffff)

I get ‘true’ responses from the above commands, yet never see any  
change in the pin status on the dboards? Any suggestions?

Thanks  
Jeff

---

<div class="post-metadata">

**Author:** ![Jeffrey\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@Jeffrey\_K](https://www.ruby-forum.com/u/Jeffrey_K)\
**Post date:** [June 8, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/digitial-io-pins/106338/2 "2007-06-08T21:28:10Z")

</div>

update.

First off, I had a typo in my email. I meant ‘sink.write\_io’ instead  
of what I wrote. Secondly, I finally was pointed to the schematics of  
the rfx900 which helped a lot. I was unaware of the pin layout  
before. Got it now!

J101  
io\_tx\_15 —| 1 | 2 | — gnd  
io\_tx\_14 —| 3 | 4 | — gnd  
io\_tx\_13 —| 5 | 6 | — gnd  
io\_tx\_12 —| 7 | 8 | — gnd  
io\_tx\_11 —| 9 | 10 | — gnd  
io\_tx\_10 —| 11 | 12 | — gnd  
io\_tx\_09 —| 13 | 14 | — gnd  
io\_tx\_08 —| 15 | 16 | — gnd

Thanks  
Jeff
