<rss version="2.0">
  <channel>
    <title>Freezerpants.com - Posts Tagged with license</title>
    <link>http://freezerpants.com/category/license/</link>
    <description>A logahead powered blog</description>
    <language>en</language>
    <lastBuildDate>Wed, 07 Jan 2009 06:15:22 +0000</lastBuildDate>
<item><title>LED Sign Control and other geeky goodies</title><link>http://freezerpants.com/2008/04/01/led_sign_control_and_other_geeky_goodies</link><description>&lt;p&gt;As previously &lt;a href=&quot;/2008/03/13/os_x_usb_-gt_serial_adapter&quot;&gt;mentioned&lt;/a&gt; , I&amp;#039;ve been tinkering with a &lt;span class=&quot;caps&quot;&gt;USB &lt;/span&gt;to Serial adapter.&lt;/p&gt;

&lt;p&gt;The exact cause is an &lt;span class=&quot;caps&quot;&gt;LED &lt;/span&gt;sign I purchased (Cheap!) from Sharaf Electronics. The sign itself is branded &lt;a href=&quot;http://bluefieldworld.com&quot;&gt;Bluefield&lt;/a&gt;, but as I would later discover, it&amp;#039;s actually manufactured by &lt;a href=&quot;http://www.amplus.com.hk/LED_ AM04142(16x120).htm&quot;&gt;Amplus Industrial&lt;/a&gt; .&lt;/p&gt;

&lt;p&gt;The software that came bundled is (of course) Win32 only. Not a problem, using a serial port &lt;a href=&quot;http://www.serial-port-monitor.com/&quot;&gt;sniffer&lt;/a&gt; I was able to dissect the protocol easily. Except for one itsy little thing. There was a checksum included in each command. Fortunately &lt;a href=&quot;http://lifeofadishwasher.com&quot;&gt;Derek&lt;/a&gt; and PapaJ quickly pointed out that it was simply an &lt;span class=&quot;caps&quot;&gt;XOR &lt;/span&gt;of the data, sans the initialization tag. &lt;/p&gt;

&lt;p&gt;From there I hacked together a little perl script to control it, and TaDa, &lt;a href=&quot;/code/&quot;&gt;toledo&lt;/a&gt; is born. &lt;ins&gt;&lt;span class=&quot;caps&quot;&gt;UPDATE&lt;/span&gt;: I&amp;#039;ve decided that this version is entirely too crappy to be of any use for anyone, I am currently working on a more stable version, rewritten from the ground up. Stay Tuned.&lt;/ins&gt;&lt;/p&gt;

&lt;p&gt;The script itself is far from complete, but I ran into some serious portability issues. While, Device::SerialPort and Win32::SerialPort are largely compatible...ish, getting those up and running on OS X and Win32 are a freaking &lt;strong&gt;nightmare&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Making Device::SerialPort on OS X requires a lot of &amp;#039;extra&amp;#039; installation (XCode, darwinports, etc), and I won&amp;#039;t even get into what I had to go through on Windows. (It started with nmake, and ended with me installing VisualStudio Lite...no kidding).&lt;/p&gt;

&lt;p&gt;As such, I&amp;#039;ve scrapped both of those for the time being, choosing to instead dump data to a file handle. Which means that every so often you end up with a blocked serial port, and occasionally a &lt;span class=&quot;caps&quot;&gt;BSOD.&lt;/span&gt; But it works. &lt;/p&gt;

&lt;p&gt;Early on, I contacted Bluefield asking for documentation. About two days ago I received a 17 page &lt;span class=&quot;caps&quot;&gt;PDF &lt;/span&gt;detailing the entire protocol (and shedding some light on some other, more interesting, things). While it was a bit late for this project, it may still find use, and it was quite refreshing that rather than fight or argue or blah blah blah, they took the time to follow up with the &lt;span class=&quot;caps&quot;&gt;OEM, &lt;/span&gt;secure the documentation, and then forward it to me.&lt;/p&gt;

&lt;p&gt;I&amp;#039;ve also noticed that the theme this site uses (which does it&amp;#039;s own &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt;/libGD &lt;a href=&quot;/2007/09/17/site_migrated&quot;&gt;magic&lt;/a&gt;) has only been pulling from a small pool of my flickr photos. &lt;/p&gt;

&lt;p&gt;As such, I&amp;#039;ve updated the &lt;a href=&quot;/code/&quot;&gt;flickrey&lt;/a&gt; theme to support the Flickr per_page &lt;a href=&quot;http://www.flickr.com/services/api/flickr.people.getPublicPhotos.html&quot;&gt;argument&lt;/a&gt; , it should now pull from my 500 most recent images.&lt;/p&gt;

&lt;p&gt;And finally, while cruising through some nabaztag forums, I noticed that someone posted my Applescript, wholesale copy/paste, no credit/link whatsoever.&lt;/p&gt;

&lt;p&gt;I realize of course that I don&amp;#039;t have a license, and I certainly don&amp;#039;t charge for these little hacks, but c&amp;#039;mon people. Even a &quot;..found this over here..&quot; in the post would be nice. &lt;/p&gt;

&lt;p&gt;As such, I&amp;#039;ve decided to start using a creative commons license with my code. It&amp;#039;s no more or less restrictive than my previous &quot;Here, take it, just say thanks&quot; license, but at least now it&amp;#039;s a little more &amp;#039;official&amp;#039;.&lt;/p&gt;

&lt;p&gt;And we all love &amp;#039;official&amp;#039;&lt;/p&gt;</description><pubDate>Tue, 01 Apr 2008 17:09:00 +0000</pubDate></item>  </channel>
</rss>