On 06/01/2016 10:23 AM, Santos Campos wrote:
Hello again, all! I've finally come back to this after a while.
I'm trying to get the example code to compile but having some trouble. Does anyone have any experience with using the uhd gpio api?
I tried using this to compile:

$ gcc -I/usr/include/boost -I/home/santosec/uhd/host/include/uhd gpio.cpp -o gpio

but I got a whole mess of compiler errors.

The best thing to do is to use the existing UHD build infrastructure to compile UHD examples.

Modify, then use the standard cmake/make dance to compile it.



On Wed, May 4, 2016 at 11:25 AM, Marcus D. Leech <mle...@ripnet.com <mailto:mle...@ripnet.com>> wrote:

    On 05/04/2016 11:18 AM, Santos Campos wrote:
    Hello! I am curious if it is possible to use a pin or something
    on either the B200 or B200 mini to send a control signal.

    We were hoping to be able to switch between 2 antennas if the
    board received some signal. It looks like there could be some
    available pins, but we were unsure if they would be able to
    fulfill our purpose. If not, any ideas around this issue would be
    welcome!

    Any help would be much appreciated!


    _______________________________________________
    Discuss-gnuradio mailing list
    Discuss-gnuradio@gnu.org  <mailto:Discuss-gnuradio@gnu.org>
    https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
    The API for the B2xx GPIO is the same as for X3xx.

    There's example code:

    .../uhd/examples/gpio.cpp



    _______________________________________________
    Discuss-gnuradio mailing list
    Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org>
    https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to