Advertisement
pleasedontcode

test rev_01

Nov 21st, 2023
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /********* Pleasedontcode.com **********
  2.  
  3.     Pleasedontcode thanks you for automatic code generation! Enjoy your code!
  4.  
  5.     - Terms and Conditions:
  6.     You have a non-exclusive, revocable, worldwide, royalty-free license
  7.     for personal and commercial use. Attribution is optional; modifications
  8.     are allowed, but you're responsible for code maintenance. We're not
  9.     liable for any loss or damage. For full terms,
  10.     please visit pleasedontcode.com/termsandconditions.
  11.  
  12.     - Project: test
  13.     - Source Code compiled for: Arduino Uno
  14.     - Source Code created on: 2023-11-21 16:10:07
  15.     - Source Code generated by: Krishnamoorthy
  16.  
  17. ********* Pleasedontcode.com **********/
  18. /****** DEFINITION OF LIBRARIES *****/
  19. #include <Arduino.h>
  20.  
  21. /****** SYSTEM REQUIREMENT 1 *****/
  22. /* turn on emit led light */
  23. const uint8_t emitLedPin = 13;
  24.  
  25. /****** FUNCTION PROTOTYPES *****/
  26. void setup(void);
  27. void loop(void);
  28.  
  29. void setup(void)
  30. {
  31.   // put your setup code here, to run once:
  32.   pinMode(emitLedPin, OUTPUT);
  33. }
  34.  
  35. void loop(void)
  36. {
  37.   // put your main code here, to run repeatedly:
  38.   digitalWrite(emitLedPin, HIGH); // turn on emit led light
  39.   delay(1000); // wait for 1 second
  40.   digitalWrite(emitLedPin, LOW); // turn off emit led light
  41.   delay(1000); // wait for 1 second
  42. }
  43.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement