Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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

by stevieb (Abbot)
on Aug 20, 2017 at 12:45 UTC ( #1197698=note: print w/replies, xml ) Need Help??

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

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.

Replies are listed 'Best First'.
Re^5: How RPi::WiringPi suite is automagically unit tested
by Ravenhall (Beadle) on Aug 23, 2017 at 18:13 UTC
    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://1197698]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2018-09-22 19:22 GMT
Find Nodes?
    Voting Booth?
    Eventually, "covfefe" will come to mean:

    Results (190 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!