10 years, 4 months ago.

Digital input with limit switch

Hello for my project i am trying to figure out the code to have the limit switch put a HIGH signal as a digital in, and the have another pin turn HIGH at the same time that is connected to a motor driver. When i try out the code i have it keeps turn the mbed off. The board i am using is the LPC1768.

Be the first to answer this question.