Good day,
I'm working on a project but I cant seem to get the programming right. I need help to do the following:
*the input is a square wave from a flow transducer at a rate of 65 pulses per litre(meaning 0.0154 litres per pulse)*
1. I need to count each pulse
2. from the pulse count, I have to determine the quantity(litres) of water flowing
3.Display the quantity on an LCD screen
*I'm using Pic Basic Pro to write the program codes.*
One of the problems that I have encountered is the "floating point" since the program uses integer values,so I need to apply Div32 to count at a resolution of 1 pulse, i.e. 0.0154 litre