{"id":1310,"date":"2014-06-08T17:14:10","date_gmt":"2014-06-08T15:14:10","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=1310"},"modified":"2014-06-08T21:42:46","modified_gmt":"2014-06-08T19:42:46","slug":"arduino-shift-out-leds","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=1310","title":{"rendered":"Arduino : shift out leds"},"content":{"rendered":"<p>Here below a video illustrating the previous <a href=\"https:\/\/labalec.fr\/erwan\/?p=1288\" target=\"_blank\">article<\/a>.<\/p>\n<p>On the proto board, you&rsquo;ll notice a 74HC595 controlling a ULN2803 plugged to 8 leds.<\/p>\n<p>I use the below array of byte to have the up and down effect<\/p>\n<pre>  dataArray[0] = 0xFF; \/\/11111111\r\n  dataArray[1] = 0xFE; \/\/11111110\r\n  dataArray[2] = 0xFC; \/\/11111100\r\n  dataArray[3] = 0xF8; \/\/11111000\r\n  dataArray[4] = 0xF0; \/\/11110000\r\n  dataArray[5] = 0xE0; \/\/11100000\r\n  dataArray[6] = 0xC0; \/\/11000000\r\n  dataArray[7] = 0x80; \/\/10000000\r\n  dataArray[8] = 0x00; \/\/00000000\r\n<\/pre>\n<p><iframe loading=\"lazy\" width=\"480\" height=\"360\" src=\"\/\/www.youtube.com\/embed\/zCp0MLzwdIQ\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here below a video illustrating the previous article. On the proto board, you&rsquo;ll notice a 74HC595 controlling a ULN2803 plugged to 8 leds. I use the below array of byte to have the up and down effect dataArray[0] = 0xFF; \/\/11111111 dataArray[1] = 0xFE; \/\/11111110 dataArray[2] = 0xFC; \/\/11111100 dataArray[3] = 0xF8; \/\/11111000 dataArray[4] = <a href='https:\/\/labalec.fr\/erwan\/?p=1310' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[51,50],"class_list":["post-1310","post","type-post","status-publish","format-standard","hentry","category-arduino","tag-74hc595","tag-uln2803","category-18-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1310"}],"version-history":[{"count":5,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1310\/revisions"}],"predecessor-version":[{"id":1316,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1310\/revisions\/1316"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}