In your last example, it should be
usrp->set_gpio_attr("FP0", "OUT",  0xFFF  , 0xFFF);
The third parameter should also be a mask.


Will Haftel via USRP-users <[email protected]> 于2024年11月21日周四
05:38写道:

> This doesn’t quite work for me - in the last example I gave, I try using 1
> mask to set all of the bits high but still only pin 0 is set. I am able to
> control all of the pins using ATR, but am not sure why the manual api isn’t
> giving me the same results.
> _______________________________________________
> USRP-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to