Difference between revisions of "ObjectBlocks: Blink"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "center|600px|thumb ==Pranala Menarik== * Arduino * ObjectBlocks") |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
− | [[File:Objectblocks- | + | [[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
void setup() { // Pin Mode Definition pinMode(13, OUTPUT); } void loop() { digitalWrite(13, HIGH); delay(1000); digitalWrite(13, LOW); delay(1000); }