New to Arduino and relatively new to coding. Got my first kit today and I've gone through a few different beginner projects and all with the same outcome. I have been copying codes and schematics from the Arduino website just to see them working but when I try to operate them there is no response. I have plenty of experience wiring and reading schimatics so I'm confident that's not the issue. When I compile the codes and upload them everything seems fine, but the hardware doesn't do anything. The led will illuminate once the code is uploaded but that is all.
A lot of programs will output to the serial monitor. Do you open the serial monitor after the program upload? Is the baud rate in serial monitor correct?
Change the blink example to use a different timing; upload and see if the result is as expected. Example provided for convenience
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(2500); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(500); // wait for a second
}
ok so i have updated the timing and the led still seems to be blinking at the same rate as the original sketch. Does this mean the board isn't recognising the code that i am sending ?
You should pay attention to what is displayed in the output window; note that this is a scrollable window, place your cursor in it and you can scroll through all text). As well as in the right bottom of the IDE Window.