long delaytimeOn = 1000;
long delaytimeOff = 1000;
int digitalPin = 6;
void setup() {
// put your setup code here, to run once:
// Serial.begin(900); // sets data rate in bits per second
// Serial.println("Hello, World!!"); //prints hello world
pinMode(digitalPin, OUTPUT); //this sets the pin 5 as output voltage
// pinMode(LED_BUILTIN, OUTPUT);//initialize digital pin LED_BULTIN as an output
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(digitalPin, HIGH); // turns led on with high voltage
delay(delaytimeOn);//wait for a second
digitalWrite(digitalPin, LOW); //turns led off with low voltage
delay(delaytimeOff);//wait for a second
}
// Serial1.print("Counter: ");
// Serial1.print(value);
// Serial1.print(", hex: ");
// Serial1.println(value, HEX);
// value += 1;
// delay(500);