Content originally posted in LPCWare by serge on Fri Jul 06 01:16:57 MST 2012
We need to see you complete program. Please export your program en post it here. Because now we don't know if you are using the internal pullups or pulldowns for example. These internal pullups or pulldowns can and will have an influence on the way your switch is behaving.