{"id":3104,"date":"2026-06-30T08:00:00","date_gmt":"2026-06-30T06:00:00","guid":{"rendered":"https:\/\/www.fuhselab.de\/?p=3104"},"modified":"2026-06-30T08:29:54","modified_gmt":"2026-06-30T06:29:54","slug":"arduino-dancing-light","status":"publish","type":"post","link":"https:\/\/www.fuhselab.de\/index.php\/2026\/06\/30\/arduino-dancing-light\/","title":{"rendered":"Arduino Dancing Light"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><br>Dieser Artikel h\u00e4tte ganz schlicht auch \u201cLED Matrix Teil 2\u201c hei\u00dfen k\u00f6nnen. Arduino Dancing Light h\u00f6rt sich doch aber besser an, oder?\u2026.<\/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\n#define LATCH 8\n#define CLOCK 10\n\nvoid setup()\n{\npinMode (LATCH, OUTPUT);\npinMode (CLOCK, OUTPUT);\npinMode (DATA, OUTPUT);\nrandomSeed(analogRead(0));\n}\n\nint binary&#91;] = {1, 2, 4, 8, 16, 32, 64, 128};\nint r, c=0;\n\nvoid setLED(int row, int column, int del)\n{\ndigitalWrite(LATCH, LOW);\nshiftOut(DATA, CLOCK, MSBFIRST, binary&#91;row]);\nshiftOut(DATA, CLOCK, MSBFIRST, ~binary&#91;column]);\ndigitalWrite(LATCH, HIGH);\ndelay(del);\n}\n\nvoid loop()\n{\nr = random(8);\nc = random(8);\nsetLED(r, c, 40);\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Dieser Artikel h\u00e4tte ganz schlicht auch \u201cLED Matrix Teil 2\u201c hei\u00dfen k\u00f6nnen. Arduino Dancing Light h\u00f6rt sich doch aber besser an, oder?\u2026.<\/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-3104","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\/3104","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=3104"}],"version-history":[{"count":1,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/3104\/revisions"}],"predecessor-version":[{"id":3105,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/3104\/revisions\/3105"}],"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=3104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/categories?post=3104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/tags?post=3104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}