It looks right except the motor pin is GP4. Does the basic you are using automatically set the pin to output when you use the LOW/HIGH command? Which compiler are you using?
It looks right except the motor pin is GP4. Does the basic you are using automatically set the pin to output when you use the LOW/HIGH command? Which compiler are you using?
Not sure about this BUT I think gp3 is master clear and needs a pull up resistor,
so the button should take it low. and in the fuses you would need to turn _MCLRE_OFF
double check me on this