Home › Forums › Microcontrollers › PIC Microcontroller › PIC16F877A with DC Gear Motor › Reply To: PIC16F877A with DC Gear Motor
June 10, 2015 at 8:43 am
#11466
Ligo George
Keymaster
Firstly, above code is for MikroC Pro compiler. You can reduce the voltage of Proximity Sensor using Voltage dividing resistors and/or zener diode.
Continuous pressing of switch is not required, it depends on how you program (how many times you read switch) etc.