/********* 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 Nano
- Source Code created on: 2024-04-30 07:32:04
********* Pleasedontcode.com **********/
/****** SYSTEM REQUIREMENTS *****/
/****** SYSTEM REQUIREMENT 1 *****/
/* turn onled */
/****** 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 mu_LED_PIN_D2 = 2;
/***** DEFINITION OF OUTPUT RAW VARIABLES *****/
bool mu_LED_PIN_D2_rawData = false;
/***** DEFINITION OF OUTPUT PHYSICAL VARIABLES *****/
float mu_LED_PIN_D2_phyData = 0.0;
void setup(void)
{
// put your setup code here, to run once:
pinMode(mu_LED_PIN_D2, OUTPUT);
}
void loop(void)
{
// put your main code here, to run repeatedly:
updateOutputs(); // Refresh output data
}
void updateOutputs()
{
// Turn on LED
mu_LED_PIN_D2_rawData = true; // Set raw data to turn on LED
digitalWrite(mu_LED_PIN_D2, mu_LED_PIN_D2_rawData);
}
/* END CODE */