Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Raspberry Pi wiringPi API wrapper released

by jmlynesjr (Deacon)
on Aug 19, 2016 at 02:25 UTC ( [id://1170038]=note: print w/replies, xml ) Need Help??


in reply to Raspberry Pi wiringPi API wrapper released

stevieb

Nice work! Do you have any plans to implement any byte-wide I/O functions.

James

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

Replies are listed 'Best First'.
Re^2: Raspberry Pi wiringPi API wrapper released
by stevieb (Canon) on Aug 19, 2016 at 12:31 UTC

    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.

      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://1170038]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-29 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found