{"id":2073,"date":"2013-10-03T05:44:38","date_gmt":"2013-10-03T05:44:38","guid":{"rendered":"http:\/\/funkboxing.com\/wordpress\/?p=2073"},"modified":"2021-01-03T18:02:19","modified_gmt":"2021-01-03T18:02:19","slug":"fastspi2-led-effects-v0-4-w-python-control-gui","status":"publish","type":"post","link":"http:\/\/funkboxing.com\/wordpress\/?p=2073","title":{"rendered":"FastSPI2 LED Effects v0.4 w\/ Python Control GUI"},"content":{"rendered":"<p><strong>[EDIT]<\/strong> Please check out the <a href=\"http:\/\/funkboxing.com\/wordpress\/?p=2154\">newest version of the FX Code (v0.51)<\/a> with Android Bluetooth Control App and Chrome Control Extension.<\/p>\n<p><strong>[EDIT]<\/strong> Fixed a really dumb problem in the Arduino code, added a color picker to the python GUI, and uploaded a new video demo. The problem was I was using <strong>if<\/strong> (serial.available()) and should have been using <strong>while<\/strong>. That gummed up the works and made the LEDs flicker if you moved the sliders too fast. That&#8217;s fixed now. Should have waited and tested better but I was all excited to get this posted- live and learn, or more likely just repeat the same mistakes and correct myself as I go along.<\/p>\n<p>Here&#8217;s another revision to the <a href=\"http:\/\/funkboxing.com\/wordpress\/?p=1761\">FastSPI2 effects demo code<\/a>. Some code cleanups, a few new effects, and a python GUI (gtk). GUI can select effect by name and control brightness, delay, color-step, hue, and saturation of various effects.<\/p>\n<p><a href=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2013\/10\/Screenshot-from-2013-10-03-195246.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-2087\" alt=\"Screenshot from 2013-10-03 19:52:46\" src=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2013\/10\/Screenshot-from-2013-10-03-195246-191x300.png\" width=\"191\" height=\"300\" srcset=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2013\/10\/Screenshot-from-2013-10-03-195246-191x300.png 191w, http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2013\/10\/Screenshot-from-2013-10-03-195246.png 402w\" sizes=\"(max-width: 191px) 100vw, 191px\" \/><\/a><\/p>\n<p><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/JmD9clDm9xg\" height=\"315\" width=\"420\" allowfullscreen=\"\" frameborder=\"0\"><\/iframe><\/p>\n<p>Here&#8217;s the <a href=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/_postfiles\/sk_FastSPI2_FX_REVISEDv04_POST.ino\">Arduino Code<\/a><\/p>\n<p>Here&#8217;s the <a href=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/_postfiles\/myLEDControl_POST.zip\">Python Code<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>If you find this really useful, please consider donating a little to the cause. Thanks!<\/p>\n<p>[paypal-donation reference=&#8221;FastSPI2 LED FX Code&#8221;]<\/p>\n<p>I&#8217;m also grateful for bitcoin donations to:\u00a01K5Yy77ejes2FZrHBG5fns3QAicnwZcduq<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[EDIT] Please check out the newest version of the FX Code (v0.51) with Android Bluetooth Control App and Chrome Control Extension. [EDIT] Fixed a really dumb problem in the Arduino code, added a color picker to the python GUI, and uploaded a new video demo. The problem was I was using if (serial.available()) and should <a href='http:\/\/funkboxing.com\/wordpress\/?p=2073' 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":[],"categories":[5,53,47],"tags":[42],"_links":{"self":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2073"}],"collection":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2073"}],"version-history":[{"count":16,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2073\/revisions"}],"predecessor-version":[{"id":2175,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2073\/revisions\/2175"}],"wp:attachment":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2073"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}