Each of these functionalities could be tested separately. The WiringPi library (version 2.50) was compiled on Raspberry Pi and copied to the project libs folder. *I am not responsible for any damage ...
To read the data from the IDT FS2012 flow sensor module, the raspberry pi need to set up the I2C communication. In this tutorial, the WiringPi library which is the Cpp library for raspberry pi is used ...
This article was first published in the May 2016 issue of WIRED magazine. Be the first to read WIRED's articles in print before they're posted online, and get your hands on loads of additional content ...