/********* Pleasedontcode.com **********

	Pleasedontcode thanks you for automatic code generation! Enjoy your code!

	- Terms and Conditions:
	You have a non-exclusive, revocable, worldwide, royalty-free license
	for personal and commercial use. Attribution is optional; modifications
	are allowed, but you're responsible for code maintenance. We're not
	liable for any loss or damage. For full terms,
	please visit pleasedontcode.com/termsandconditions.

	- Project: LED Control
	- Source Code NOT compiled for: Arduino Mega
	- Source Code created on: 2024-04-29 12:31:10

********* Pleasedontcode.com **********/

/****** SYSTEM REQUIREMENTS *****/
/****** SYSTEM REQUIREMENT 1 *****/
	/* turn on for 30 sec */
/****** SYSTEM REQUIREMENT 2 *****/
	/* turn on for 30 sec */
/****** END SYSTEM REQUIREMENTS *****/

/****** DEFINITION OF LIBRARIES *****/

/****** FUNCTION PROTOTYPES *****/
void setup(void);
void loop(void);
void updateOutputs(void);

/***** DEFINITION OF DIGITAL OUTPUT PINS *****/
const uint8_t gggg_LED_PIN_D2 = 2;

/***** DEFINITION OF OUTPUT RAW VARIABLES *****/
bool gggg_LED_PIN_D2_rawData = 0;

/***** DEFINITION OF OUTPUT PHYSICAL VARIABLES *****/
float gggg_LED_PIN_D2_phyData = 0.0;

void setup(void)
{
	// put your setup code here, to run once:
	pinMode(gggg_LED_PIN_D2, OUTPUT);
}

void loop(void)
{
	// put your main code here, to run repeatedly:
	updateOutputs(); // Refresh output data
}

void updateOutputs()
{
	// System Requirement 1: Turn on for 30 seconds
	gggg_LED_PIN_D2_rawData = 1;
	delay(30000); // 30 seconds delay
	digitalWrite(gggg_LED_PIN_D2, gggg_LED_PIN_D2_rawData);

	// System Requirement 2: Turn off for 30 seconds
	gggg_LED_PIN_D2_rawData = 0;
	delay(30000); // 30 seconds delay
	digitalWrite(gggg_LED_PIN_D2, gggg_LED_PIN_D2_rawData);
}

/* END CODE */