I do, but I'm working on getting the upper layers to work correctly. First, interrupts are failing miserably which I'll try to sort out today. Second, PWM mode doesn't work in non-root user mode, so I am going to implement software PWM for that run mode (with a user warning). Lastly, I need to rewrite the state mechanisms and cleanup routines, as I don't like when a crash happens that pins stay in an inconsistent state.

Once all those are done, I'll add more features. I've also got a couple of other XS modules that are specific to sensors (DHT11 hygrometer for example) that I need to brush up a little.

My goal was to get it far enough to be able to create my indoor grow operations environment control centre (which I've pretty well done), but then I thought I'd take it the whole way so that Perl has an easy-to-use implementation of wiringPi that goes beyond just the core library itself (management of components/pins, safe cleanup etc).

fwiw, the most recent code is here. DHT11 code is RPi::DHT11::EnvControl.


In reply to Re^2: Raspberry Pi wiringPi API wrapper released by stevieb
in thread Raspberry Pi wiringPi API wrapper released by stevieb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.