Basically I have a switch which instead of being connected to 3.3V is connected to ground and there is nothing I can do about it. Normally I would do this
, but now im not sure how to go about it. I have tried a few things but in vein. I have two buttons like this connected to pins DIO2 and DIO3 of a series 1 xbee and would like to know if it is possible and if so what to set the pins to and how to connect it physically.