Unable to toggle output

Hi,

I am trying to toggle IO33 and IO31 but the IO level is low all the time even when I Write(true).


_cs = new OutputPort(chipSelectPin, true);
_cs.Write(true)

The pins are for I2C, could this be the problem?

They are open drain. You need pull ups

Thanks! that did the trick