{"id":80,"date":"2014-11-11T09:53:44","date_gmt":"2014-11-11T09:53:44","guid":{"rendered":"http:\/\/alain.fi\/?p=80"},"modified":"2019-07-30T04:01:19","modified_gmt":"2019-07-30T04:01:19","slug":"led-matrix-long-display-daisy-chain","status":"publish","type":"post","link":"https:\/\/alain.fi\/?p=80","title":{"rendered":"Led matrix long display &#8211; daisy chain"},"content":{"rendered":"<p>I want to make a long display with scrolling text, with multiple of these MAX7219 led matrix modules.<\/p>\n<p>I need this:<br \/>\nhttps:\/\/github.com\/JonA1961\/MAX7219array<br \/>\n-&gt;<br \/>\ngit clone https:\/\/github.com\/JonA1961\/MAX7219array<\/p>\n<p>test the demo: ImportError: No module named spidev<\/p>\n<p>Ah.<br \/>\nhttp:\/\/www.100randomtasks.com\/simple-spi-on-raspberry-pi<\/p>\n<p>Make sure you have python-dev package and do:<\/p>\n<p>mkdir python-spi<br \/>\ncd python-spi<br \/>\nwget https:\/\/raw.github.com\/doceme\/py-spidev\/master\/setup.py<br \/>\nwget https:\/\/raw.github.com\/doceme\/py-spidev\/master\/spidev_module.c<br \/>\nsudo python setup.py install<\/p>\n<p>test the demo.<\/p>\n<p>Voil\u00e0.<\/p>\n<p>The last connected module on the chain is the first one of the display (most left)<\/p>\n<p>By default the code is set for 8 modules, to change that edit the config in MAX7219array.py<br \/>\nNUM_MATRICES<\/p>\n<p>Note that in the demo code there is also hardcoded stuff assuming 8 matrixes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I want to make a long display with scrolling text, with multiple of these MAX7219 led matrix modules. I need this: https:\/\/github.com\/JonA1961\/MAX7219array -&gt; git clone https:\/\/github.com\/JonA1961\/MAX7219array test the demo: ImportError: No module named spidev Ah. http:\/\/www.100randomtasks.com\/simple-spi-on-raspberry-pi Make sure you have &hellip; <a href=\"https:\/\/alain.fi\/?p=80\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=80"}],"version-history":[{"count":1,"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions"}],"predecessor-version":[{"id":81,"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions\/81"}],"wp:attachment":[{"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}