This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Microswitch input

Hi

I am controlling the tilt/pan operations of a camera using a c167 microcontroller and i would like to use a microswitch as an end stop to stop the camera turning to far. Please could you give me some advice on to get the microcontroller to recognise when the switch has been pressed.

Thanks

John

0