Moderator: igrr
However 3600/RFH = value the 1/value then serial.print(value,4) prints 0.0022
Arduino 1.6.5 2.1.0-RC2
If both operands are integer, the result of a division will also be an integer in C/C++ (rounded down to the next int).
You need to make at least one operand a float value (either by adding .0f if it's a constant or casting to float).
Thanks lethe
This makes some since....