What is demotivating is your lack of detail.I think I may have already mentioned this.Show a schematic - don't make us imagine it.What we imagine, and what is reality can make a huge difference.You're a noob. Noobs make assumptions and mistakes.I assume you have a pulldown resistor on the switch (you told us you have a resistor, but that could just be the LED's current limiter), and you may have a resistor on the switch, but it's a series resistor or something else as inappropriate. Until you show us, we simply don't know.I still don't know what a "taster" is.I suspect I've also mentioned that before.I'm going to bed now.
I don't have switch connected to arduino, there is no switch...There are 2 resistors and taster is push button (input).
A 'taster' (momentary push button) IS a switch.You failed to give us the resistor values.A circuit diagram IS important.As is a clear picture if the setup/breadboard.With the limited real information given I see two possibilities for your problem.1) wrong resistor value on the button and/or bad breadboad/wiring.2) poor quality USB charger (that lets mains power spikes through).Did you try powering the Nano from the PC/laptop?Leo..
Should input be defined as input_pullup ?
Now if you were nice and didn't insult me since beginning, maybe we would've solved this problem till now. I'm going to bed too now, you don't understand me and i don't need your help anymore since you're insulting. Bye
The only "insult" was that you are a time-waster.It isn't an insult, it is an accurate description.If you had bothered to read the stickies about how to use this forum, you'd have provided all the information needed, without having to be asked.That's what being "nice" is about.
you bored me to death
Should I send flowers?