Muhammad Saad
New Member
I am new to mcu. I want to make a project for controlling two leds. I am using PCW (Pic c compiler)Please help me to write a code to on/off relay through potentiometer reading(5v to A0 pin). I need to on the relay when voltage is under 1.5v and above 4.5v. here is my circuit.
Looking for help.