{"id":3145,"date":"2026-07-14T08:00:00","date_gmt":"2026-07-14T06:00:00","guid":{"rendered":"https:\/\/www.fuhselab.de\/?p=3145"},"modified":"2026-07-07T08:08:10","modified_gmt":"2026-07-07T06:08:10","slug":"arduino-led-matrix-smiley-2","status":"publish","type":"post","link":"https:\/\/www.fuhselab.de\/index.php\/2026\/07\/14\/arduino-led-matrix-smiley-2\/","title":{"rendered":"Arduino LED Matrix Smiley 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Projekt 24 und jetzt bewegt sich der Smiley auch noch&#8230;<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Programmierung:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#define DATA 6\t\t\/\/ Verbindung mit Pin 14 am 74HC595\n#define LATCH 8\t\t\/\/ Verbindung mit Pin 12 am 74HC595\n#define CLOCK 10\t\/\/ Verbindung mit Pin 11 am 74HC595\n\nbyte smile &#91;] = {B00000000, B00000110, B01000110, B00000000, B00011000, B00000000, B11000011, B01111110};\nint binary&#91;] = {1, 2, 4, 8, 16, 32, 64, 128};\n\nvoid setup()\n{\npinMode(LATCH, OUTPUT);\npinMode(CLOCK, OUTPUT);\npinMode(DATA, OUTPUT);\n}\n\nvoid loop()\n{\nint a, hold, shift;\nfor ( shift = 0 ; shift &lt; 9 ; shift++)\n{\nfor (hold = 0; hold &lt; 25 ; hold++)\n{\nfor (a = 0; a &lt; 8 ; a++)\n{\ndigitalWrite(LATCH, LOW);\nshiftOut(DATA, CLOCK, LSBFIRST,smile&#91;a]>>shift);  \nshiftOut(DATA, CLOCK, MSBFIRST,~binary&#91;a]);  \n\ndigitalWrite(LATCH, HIGH);\ndelay(1);\n}\n}\n}\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Projekt 24 und jetzt bewegt sich der Smiley auch noch&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3137,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[22],"class_list":["post-3145","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","tag-arduino-gruppe-peine"],"_links":{"self":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/3145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/comments?post=3145"}],"version-history":[{"count":1,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/3145\/revisions"}],"predecessor-version":[{"id":3146,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/3145\/revisions\/3146"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media\/3137"}],"wp:attachment":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media?parent=3145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/categories?post=3145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/tags?post=3145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}