Im new to this and i need some help

Hi,

I've never used a Arduino board outside of school and I need help working on a project of mine. Every 60 minutes it turns on a led for 3 seconds. It would be nice to know what it is that is happening in the code so I can educate myself to better know what is happening.

Thanks again for your time

You haven’t shown us your code.

9 lines of code.

unsigned long timer = 0; //timer
const int led = 5; //LED connected to pin D5
void setup() {
  pinMode(led, OUTPUT);
  digitalWrite(led, LOW);
}

void loop() {
  if ((millis() - timer) >= 3600000 || timer == 0) {
    timer = millis();
    digitalWrite(led, HIGH);
    delay(3000);
    digitalWrite(led, LOW);
  }

I don't have any code. Again I'm new to this and even newer to this form. I have tried looking this up and it just makes me even more lost. If I have also done anything else that wrong with this post I'm sorry.

You wrote

Every 60 minutes it turns on a led for 3 seconds.

This suggest the code is written and exists.

It would be nice to know what it is that is happening in the code

suggesting that you didn’t understand how

You are so right I sorry I missed that.