Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Contemplating a documentation series for my Raspberry Pi work

by stevieb (Canon)
on Jul 04, 2017 at 13:40 UTC ( [id://1194147]=note: print w/replies, xml ) Need Help??


in reply to Re: Contemplating a documentation series for my Raspberry Pi work
in thread Contemplating a documentation series for my Raspberry Pi work

Hey zentara,

I'm just finalizing a significant upgrade/enhancements to the "pin registration" system. This is a protection mechanism that 100% ensures that if there's a crash or interrupt of any sort, we roll back the configuration of all pins we know about, and restore their state and functionality back to how we had it before exiting. It also protects someone from registering the same pin twice for different purposes by accident. Yesterday, I added this pin registration functionality to all of the various objects you can create through the $pi object (ie. if you create a shift register or ADC, we'll automatically register those pins). You really don't want to accidentally send a shift reg into bizarre behaviour just because you forgot that you're flipping a pin that's say for example the communication pin for the other device :)

I think that system will be important especially for users who are new to the platform.

Once I've got all of the quirks worked out (today), I will focus my attention on the entire installation of everything and smooth out any wrinkles. Thanks for letting me know!

Also, please do share the code you come up with for the LED matrix display. I honestly have never used one. The farthest I ever got was chaining four shift registers together with eight LEDs per register for when I was testing shiftreg functionality originally. Here's an image with two of them. I never documented it with all four due to it not being necessary, but I had them in a grid and that was fun to work with.

  • Comment on Re^2: Contemplating a documentation series for my Raspberry Pi work
  • Download Code

Replies are listed 'Best First'.
Re^3: Contemplating a documentation series for my Raspberry Pi work
by marto (Cardinal) on Jul 04, 2017 at 13:55 UTC

    "I will focus my attention on the entire installation of everything and smooth out any wrinkles. Thanks for letting me know!"

    I'd hang on until you had an actual reproducable problem reported, cpanm RPi::WiringPi works without issue on the lowest spec (oldest model) Pi, running many other things.

      That's great to hear, thanks for the heads-up!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-25 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found