{"id":2145,"date":"2016-11-15T16:24:18","date_gmt":"2016-11-15T13:24:18","guid":{"rendered":"http:\/\/roboromania.ro\/?p=2145"},"modified":"2017-08-02T09:57:26","modified_gmt":"2017-08-02T06:57:26","slug":"uno-semafor-cu-trei-led-uri-verde-galben-rosu","status":"publish","type":"post","link":"https:\/\/roboromania.ro\/?p=2145","title":{"rendered":"UNO Semafor cu trei Led-uri verde-galben-rosu  &#8211; pentru \u00eencep\u0103tori"},"content":{"rendered":"<p><span style=\"color: #0000ff;\"><strong>UNO Semafor cu trei Led-uri verde-galben-rosu<\/strong><\/span><\/p>\n<p>Un program simplu pentru Arduino.<\/p>\n<p>\u00cenainte ar fi bine sa cite\u015fti tutorialul \u201cDescrierea pinilor <strong>UNO R3<\/strong>\u201d<\/p>\n<p>si tutorialul \u201dArduino LED Blink\u201d<\/p>\n<p>Voi folosi trei LED-uri de 3v pe care le leg la pinii 8, 9, 10 cu rezistoare de 1k\u2126.<\/p>\n<p><a href=\"http:\/\/roboromania.ro\/wp-content\/uploads\/2016\/11\/UNO-semafor.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2146\" src=\"http:\/\/roboromania.ro\/wp-content\/uploads\/2016\/11\/UNO-semafor-297x300.jpg\" alt=\"UNO-semafor\" width=\"297\" height=\"300\" srcset=\"https:\/\/roboromania.ro\/wp-content\/uploads\/2016\/11\/UNO-semafor-297x300.jpg 297w, https:\/\/roboromania.ro\/wp-content\/uploads\/2016\/11\/UNO-semafor.jpg 623w\" sizes=\"auto, (max-width: 297px) 100vw, 297px\" \/><\/a><\/p>\n<p>Voi scrie un cod :<\/p>\n<p>void setup() {<\/p>\n<p>pinMode(8, OUTPUT);<\/p>\n<p>pinMode(9, OUTPUT);<\/p>\n<p>pinMode(10, OUTPUT);<\/p>\n<p>}<\/p>\n<p>void loop() {<\/p>\n<p>digitalWrite(10, HIGH);<\/p>\n<p>delay(2000);<\/p>\n<p>digitalWrite(9, HIGH);<\/p>\n<p>delay(200);<\/p>\n<p>digitalWrite(10, LOW);<\/p>\n<p>delay(1000);<\/p>\n<p>digitalWrite(9, LOW);<\/p>\n<p>delay(100);<\/p>\n<p>digitalWrite(8, HIGH);<\/p>\n<p>delay(2000);<\/p>\n<p>}<\/p>\n<p>Acum voi face upload la program pe placa UNO prin USB.<\/p>\n<p><span style=\"color: #0000ff;\">Succes !<\/span><\/p>\n<p>Colectivul Roboromania<\/p>\n<p><span style=\"color: #0000ff;\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>UNO Semafor cu trei Led-uri verde-galben-rosu Un program simplu pentru Arduino. \u00cenainte ar fi bine sa cite\u015fti tutorialul \u201cDescrierea pinilor UNO R3\u201d si tutorialul \u201dArduino LED Blink\u201d Voi folosi trei LED-uri de 3v pe care le leg la pinii 8, 9, 10 cu rezistoare de 1k\u2126. Voi scrie un cod : void setup() { pinMode(8, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[176],"tags":[],"class_list":["post-2145","post","type-post","status-publish","format-standard","hentry","category-tutoriale-arduino"],"_links":{"self":[{"href":"https:\/\/roboromania.ro\/index.php?rest_route=\/wp\/v2\/posts\/2145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roboromania.ro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roboromania.ro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roboromania.ro\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/roboromania.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2145"}],"version-history":[{"count":5,"href":"https:\/\/roboromania.ro\/index.php?rest_route=\/wp\/v2\/posts\/2145\/revisions"}],"predecessor-version":[{"id":3407,"href":"https:\/\/roboromania.ro\/index.php?rest_route=\/wp\/v2\/posts\/2145\/revisions\/3407"}],"wp:attachment":[{"href":"https:\/\/roboromania.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roboromania.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roboromania.ro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}