button on pin 10

Status
Not open for further replies.

Aru

New member
Hello,

on my project - I've connected on pin 10 button with simple configuration:

Code:
void setup() {


  pinMode(10 , INPUT_PULLUP);
}

other pin of a button is connected to ground.

For some reason button is pressing without me touching it (in 1s time period). I cannot get why... :/

Please help...
 
Status
Not open for further replies.
Back
Top