Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Raspberry Pi wiringPi API wrapper released

by stevieb (Canon)
on Aug 19, 2016 at 12:31 UTC ( [id://1170062]=note: print w/replies, xml ) Need Help??


in reply to Re: Raspberry Pi wiringPi API wrapper released
in thread Raspberry Pi wiringPi API wrapper released

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.

Replies are listed 'Best First'.
Re^3: Raspberry Pi wiringPi API wrapper released
by jmlynesjr (Deacon) on Aug 20, 2016 at 00:37 UTC

    stevieb

    Thanks for the update. I look forward to following your progress. For speed reasons, in the chipKIT world bytewise operations are used to interface to TFT color displays.

    James

    There's never enough time to do it right, but always enough time to do it over...

      I've sent you my email address via /msg, I'd like to further discuss a few things offline if you wouldn't mind.

      I finally got the C code that handles interrupts corrected, and I'm nearly done the auto-cleanup code, so although I'm heading into the mountains for a couple of days, I should have a fully working release ready sometime on Monday.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1170062]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-29 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found