Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /********* 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 Blinker
- - Source Code NOT compiled for: Arduino Uno
- - Source Code created on: 2025-12-12 17:23:21
- ********* Pleasedontcode.com **********/
- /****** SYSTEM REQUIREMENTS *****/
- /****** SYSTEM REQUIREMENT 1 *****/
- /* blink example */
- /****** END SYSTEM REQUIREMENTS *****/
- /****** DEFINITION OF LIBRARIES *****/
- /****** FUNCTION PROTOTYPES *****/
- void setup(void);
- void loop(void);
- /****** SETUP FUNCTION *****/
- void setup(void)
- {
- // Initialize the built-in LED pin as an output
- pinMode(LED_BUILTIN, OUTPUT);
- }
- /****** MAIN LOOP FUNCTION *****/
- void loop(void)
- {
- // Turn the LED on (HIGH is the voltage level)
- digitalWrite(LED_BUILTIN, HIGH);
- // Wait for one second
- delay(1000);
- // Turn the LED off by making the voltage LOW
- digitalWrite(LED_BUILTIN, LOW);
- // Wait for one second
- delay(1000);
- }
- /* END CODE */
Advertisement
Add Comment
Please, Sign In to add comment