I'd expect it to output 1 if the write value is anything but zero, like the digitalWrite() behavior.
You could make it do that, if that's what you'd like.
I'd expect it to output 1 if the write value is anything but zero, like the digitalWrite() behavior.
You could make it do that, if that's what you'd like.