This is great, and I even bought a couple so I can include this hardware in my Raspberry Pi work I've been doing. I don't have any comments on the code as of yet... I'll report back here after the units arrive and I've had time to read the datasheet and do some testing.
If you do a fair amount of work on stuff like this, you may be interested in checking out some of my mentioned RPi stuff in my CPAN home page (the RPi::* and WiringPi::API may be the ones of interest).
I do have proper light meters as the purpose for my RPi work started off as a project to automate indoor grow rooms, but this hardware will fit in nicely (I admit I was having so much fun writing this code, that I would randomly just buy different ICs just to get familiar with programming them). There are apps out there for smartphones that are reasonably accurate (at least accurate enough to tell whether your numbers are within a reasonable range). You may want to take a look at some of them.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|