Hello,
I tested the DIGOUT_BANK.C sample and it works fine (BL4S200). The demo begins by configuring the first 8 channels as outputs, and then uses digOutBank() to set or clear the selected output.
If I configure channel 0 as an input and the 7 other channels as outputs, why the calls to digOutBank() have no effect on the output pins? In the documentation of digOutBank():
“This function only updates the channels that are configured to be sinking digital outputs by the setDigOut() function call. Channels configured for other functionality will not be affected.”
That seems to imply that we can have an input in a given bank, and the function will only change the pins configured as outputs.
Anyone knows why this behavior? Anything I’m doing wrong?
Thank you
Simon