blink-test.ino 558 B

12345678910111213141516
  1. // the setup function runs once when you press reset or power the board
  2. void setup() {
  3. // initialize digital pin LED_BUILTIN as an output.
  4. pinMode(LED_BUILTIN, OUTPUT);
  5. Serial.begin(9600);
  6. }
  7. // the loop function runs over and over again forever
  8. void loop() {
  9. digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
  10. delay(2000); // wait for a second
  11. digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
  12. delay(2000);
  13. Serial.print("ENDODODODO");
  14. Serial.println();
  15. }