Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2017-12-16 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (450 votes). Check out past polls.

    Notices?