I'm attaching a picture of my board which has the push button I want to use, but I cannot because I don't know what pin number should I write in my code.
my code:
int switchPin = Button; int ledPin =13; void setup() { // put your setup code here, to run once: pinMode(switchPin, INPUT); pinMode(ledPin, OUTPUT); } void loop() { // put your main code here, to run repeatedly: if(digitalRead(switchPin) == HIGH) { digitalWrite(ledPin, HIGH); } else { digitalWrite(ledPin, LOW); } } 