Difference between revisions of "ObjectBlocks: Blink"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "center|600px|thumb ==Pranala Menarik== * Arduino * ObjectBlocks")
 
 
Line 1: Line 1:
[[File:Objectblocks-blink13.png|center|600px|thumb]]
+
[[File:Objectblocks-slider-blink.png|center|600px|thumb]]
 +
 
 +
 
 +
void setup() {
 +
  // Pin Mode Definition
 +
  pinMode(13, OUTPUT);
 +
}
 +
 +
void loop() {
 +
  digitalWrite(13, HIGH);
 +
  delay(1000);
 +
  digitalWrite(13, LOW);
 +
  delay(1000);
 +
}
  
  

Latest revision as of 22:23, 19 March 2023

Objectblocks-slider-blink.png


void setup() {
  // Pin Mode Definition
  pinMode(13, OUTPUT);
}

void loop() {
  digitalWrite(13, HIGH);
  delay(1000);
  digitalWrite(13, LOW);
  delay(1000);
}


Pranala Menarik