I'm just starting and tried a very simple project, with a button turning a Led on. The problem is that the led is always On if a jumper is attached to the digital port '9'.
What can this be?
The code bellow isn't the one I was working on, it's just to test the problem. Evento with this code the led is on when there's a jumper on '9'
eduardomartinspires:
I'm just starting and tried a very simple project, with a button turning a Led on. The problem is that the led is always On if a jumper is attached to the digital port '9'.
What can this be?
The code bellow isn't the one I was working on, it's just to test the problem. Evento with this code the led is on when there's a jumper on '9'
#define led 13
Void setup() {
pinMode(led, OUTPUT);
digitalWrite(led, LOW);
}
Void loop (){
}
It's not going to work with Void... Try void instead.