I'm completely new to the arduino world, I'm starting to program now and I've come across a problem.
Well, that's the way it is, I've prepared an arduino with an ethernet shield.
The function is very simple, read the state of an input, if the input is high then does a get httml request , if the input is low then does another get Httml request.
The problem is, the arduino is inside an electric panel of a machine, and I think there is a lot of electrical noise, for fractions of milliseconds the input goes down, and consequently my program makes a false request.
I already did a little delay, but I think it's not a definitive solution.
Follow my scheme