/*
Modification of blink, written to test the relay

Modifiedd by
Chaitanya gosavi
Fab academy 2018
*/

// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(PA4, OUTPUT); //Defining the pin as output
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(PA4, HIGH); // turn the motor ON
delay(1000); // wait for a second
digitalWrite(PA4, LOW); // turn the motor oFF
delay(1000); // wait for a second
}