{"id":3761,"date":"2016-08-12T16:49:38","date_gmt":"2016-08-12T14:49:38","guid":{"rendered":"http:\/\/www.laurentmarot.fr\/wordpress\/?p=3761"},"modified":"2016-08-13T11:54:35","modified_gmt":"2016-08-13T09:54:35","slug":"finally-it-blinks","status":"publish","type":"post","link":"https:\/\/www.laurentmarot.fr\/wordpress\/?p=3761","title":{"rendered":"Finally, it blinks &#8230;"},"content":{"rendered":"<div id=\"attachment_3763\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/DSC05579.jpg\" rel=\"lightbox[3761]\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3763\" src=\"http:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/DSC05579-300x201.jpg\" alt=\"Arduino UNO makes me blink\" width=\"300\" height=\"201\" class=\"size-medium wp-image-3763\" srcset=\"https:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/DSC05579-300x201.jpg 300w, https:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/DSC05579-768x513.jpg 768w, https:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/DSC05579-1024x685.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-3763\" class=\"wp-caption-text\">Arduino UNO makes me blink<\/p><\/div>\n<ol>\n<li>Documente-toi<\/li>\n<p><a href=\"http:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/hkhs1-1.jpg\" rel=\"lightbox[3761]\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/hkhs1-1-225x300.jpg\" alt=\"hkhs1-1\" width=\"225\" height=\"300\" class=\"aligncenter size-medium wp-image-3777\" srcset=\"https:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/hkhs1-1-225x300.jpg 225w, https:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/hkhs1-1.jpg 744w\" sizes=\"(max-width: 225px) 100vw, 225px\" \/><\/a><br \/>\nPar exemple le premier num\u00e9ro Hors-S\u00e9rie de Hackable est tr\u00e8s bien fait<\/p>\n<li>Paie ton UNO<\/li>\n<p>J&rsquo;avais du acheter un kit Uno\/breadboard sur <a href=\"http:\/\/www.semageek.com\/\" target=\"_blank\">http:\/\/www.semageek.com\/<\/a><\/p>\n<li>Installe ton IDE<\/li>\n<p>Il y a vraiment beaucoup de ressources en ligne. Pour mon cas, j&rsquo;ai suivi  <a href=\"http:\/\/playground.arduino.cc\/Linux\/Debian\" target=\"_blank\">http:\/\/playground.arduino.cc\/Linux\/Debian<\/a><\/p>\n<li>Pompe le code de ton croquis<\/li>\n<blockquote><p>\/*<br \/>\n  Blink<br \/>\n  Turns on an LED on for one second, then off for one second, repeatedly.<\/p>\n<p>  Most Arduinos have an on-board LED you can control. On the Uno and<br \/>\n  Leonardo, it is attached to digital pin 13. If you&rsquo;re unsure what<br \/>\n  pin the on-board LED is connected to on your Arduino model, check<br \/>\n  the documentation at http:\/\/www.arduino.cc<\/p>\n<p>  This example code is in the public domain.<\/p>\n<p>  modified 8 May 2014<br \/>\n  by Scott Fitzgerald<br \/>\n *\/<\/p>\n<p>\/\/ the setup function runs once when you press reset or power the board<br \/>\nvoid setup() {<br \/>\n  \/\/ initialize digital pin 13 as an output.<br \/>\n  pinMode(13, OUTPUT);<br \/>\n}<\/p>\n<p>\/\/ the loop function runs over and over again forever<br \/>\nvoid loop() {<br \/>\n  digitalWrite(13, HIGH);   \/\/ turn the LED on (HIGH is the voltage level)<br \/>\n  delay(1000);              \/\/ wait for a second<br \/>\n  digitalWrite(13, LOW);    \/\/ turn the LED off by making the voltage LOW<br \/>\n  delay(2000);              \/\/ wait for a second<br \/>\n}<\/p><\/blockquote>\n<li>Cr\u00e9e ton circuit<\/li>\n<div id=\"attachment_3774\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/ArduinoBlink_bb.png\" rel=\"lightbox[3761]\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3774\" src=\"http:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/ArduinoBlink_bb-300x207.png\" alt=\"Breadboard et Uno\" width=\"300\" height=\"207\" class=\"size-medium wp-image-3774\" srcset=\"https:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/ArduinoBlink_bb-300x207.png 300w, https:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/ArduinoBlink_bb.png 624w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-3774\" class=\"wp-caption-text\">Breadboard et Uno<\/p><\/div>\n<li>T\u00e9l\u00e9verse<\/li>\n<p><div id=\"attachment_3775\" style=\"width: 267px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/arduino_com.png\" rel=\"lightbox[3761]\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3775\" src=\"http:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/arduino_com-257x300.png\" alt=\"IDE Arduino\" width=\"257\" height=\"300\" class=\"size-medium wp-image-3775\" srcset=\"https:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/arduino_com-257x300.png 257w, https:\/\/www.laurentmarot.fr\/wordpress\/wp-content\/uploads\/2016\/08\/arduino_com.png 640w\" sizes=\"(max-width: 257px) 100vw, 257px\" \/><\/a><p id=\"caption-attachment-3775\" class=\"wp-caption-text\">IDE Arduino<\/p><\/div>\n<\/ol>\n<p>=> \u00e7a clignote, te voici ceinture verte d&rsquo;Arduino<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Documente-toi Par exemple le premier num\u00e9ro Hors-S\u00e9rie de Hackable est tr\u00e8s bien fait Paie ton UNO J&rsquo;avais du acheter un kit Uno\/breadboard sur http:\/\/www.semageek.com\/ Installe ton IDE Il y a vraiment beaucoup de ressources en ligne. Pour mon cas, j&rsquo;ai suivi http:\/\/playground.arduino.cc\/Linux\/Debian Pompe le code de ton croquis \/* Blink Turns on an LED on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59,7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3761"}],"collection":[{"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3761"}],"version-history":[{"count":7,"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3761\/revisions"}],"predecessor-version":[{"id":3780,"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3761\/revisions\/3780"}],"wp:attachment":[{"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laurentmarot.fr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}