Hello! My friend and I are building a robot that will sense when he is bumping into things through switches. But the PIC (16F690) is always detecting the switches on. I am wondering if anyone have got a clue about what the problem could be? When the PIC is on the testingboard everything is as it should be but when we put it onto the "robot" it all goes crazy.
And one more thing, how can I set the minimum input voltage on an input?
I am programing with c and htc.h library.
And one more thing, how can I set the minimum input voltage on an input?
I am programing with c and htc.h library.