I am completely new to Arduino and maybe my question is a little bit dumb but I can not find answers to this.
I am controlling a button which when pressed activates my relais which then lets a led flash. That works perfectly fine (the led will be replaced by a water pump it is just for testing - i already did this with a raspberry pi)
To the original question: In the process I may have to change the sketch a couple of times - do I have to:
- Unplug the Arduino
- undo the wiring of my sensors & co
- Then plug the arduino in again
- Alter the sketch and upload it again
- Then wire all my sensors & co and run it again
or can i just alter the sketch and upload the new one while the old program ins running and just press the reset button after this?
Looking forward to an answer and thanks in advance. PS: it would be cool if someone could state why too. :)