Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2017-11-20 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (283 votes). Check out past polls.

    Notices?