I’m working on a project where I want to send SMD tactile switch button pushes over Xbee to MAX/MSP. Communication is working to MAX, but two of the five inputs oscillate between on and off, if I hold my fingers on the contacts on the xbee the oscillation will stop.
I connected the pushbutton to ground, so when a button is pushed the digital input is connected to ground. The internal pull-up resistors are enabled.
Does anyone have any idea what might be the problem?
thanks for the comment, I used a regulated power supply and checked the internal pull-ups. Found out that pins 12 and 15 don’t have internal pull-ups, which are the only free pins left. Added the external pull-ups and everything works fine.