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 <usrp-users@lists.ettus.com> 于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 -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com >
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com