Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^3: How RPi::WiringPi suite is automagically unit tested

by zentara (Archbishop)
on Aug 19, 2017 at 19:17 UTC ( #1197675=note: print w/replies, xml ) Need Help??

in reply to Re^2: How RPi::WiringPi suite is automagically unit tested
in thread How RPi::WiringPi suite is automagically unit tested

Hi again stevieb, might I ask a few questions?

How many different types of sensors have you got working for the Pi? Is there a list by application type?

And even though it's not needed, why do you do I2C bus testing with the Arduino?

I'm not really a human, but I play one on earth. ..... an animated JAPH
  • Comment on Re^3: How RPi::WiringPi suite is automagically unit tested

Replies are listed 'Best First'.
Re^4: How RPi::WiringPi suite is automagically unit tested
by stevieb (Abbot) on Aug 20, 2017 at 12:45 UTC

    I do not have a list currently, but I will put one together. Some of the sensors require specific timing and such, so I've already written specific modules for to make it much easier for the end user (eg: RPi::DHT11, RPi::HCSR04, RPi::WiringPi's servo() etc). Many other sensors require nothing more than toggling a GPIO to read/write, such as hall effect sensors, PIR motion sensors etc.

    As far as the Arduino, it kind of is needed. It allows me to test all of the functionality of RPi::I2C... read/write, read/write to specific addresses, and most importantly, read/write block data. Because I can code the Arduino in any way I like, I can add/change the way the pseudo-hardware operates, and therefore enhance the tests in the future.

      Interesting set of modules for the Pi. I don't see any examples in the FAQ for the camera though.

        I haven't written any Perl code that performs camera operations. I started down that path, but life happened and had to temporarily abandon the project. I do have a couple of Pi camera 2 modules, but the brief time I've played with them, I just used the pre-installed camera CLI commands.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1197675]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2018-06-24 12:08 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.