I have noticed something strange happening in my simple circuit: a pushbutton with a 10kohm pull down resistor that turns on an LED when it's pressed.
My Arduino loop cycles at 100Hz more or less.
Yellow probe connected through the yellow cable to the 10 kOhm pulldown resistor.
Green probe connected through the green cable to the dgt output pin 4. This output signal has a freq of 50Hz. I had this pin toggling just to understand how fast my loop is.
10X probes
Trigger on the yellow signal.
The 50Hz yellow signal disappears when I disconnect the green probe or I cancel the last two instructions in the code loop.
I can't understand what's going on.
Cheers
My Arduino loop cycles at 100Hz more or less.
Yellow probe connected through the yellow cable to the 10 kOhm pulldown resistor.
Green probe connected through the green cable to the dgt output pin 4. This output signal has a freq of 50Hz. I had this pin toggling just to understand how fast my loop is.
10X probes
Trigger on the yellow signal.
The 50Hz yellow signal disappears when I disconnect the green probe or I cancel the last two instructions in the code loop.
I can't understand what's going on.
Attachments
-
37.7 KB Views: 20
-
869.5 KB Views: 19