Datalogger WaterFlowSensor LCD

Hello everyone.

Please help me with my code;
the water flow sensor is stuck in zero (0) even when interrupts are already written in the code.

here is what was logged to the text file;

yyyy/mm/dd hh:mm:ss Flowrate (L/min) Water level (m)
2018/10/12 20:26:14 0.0000000000 2.5299999713
2018/10/12 20:26:15 0.0000000000 2.2000000476
2018/10/12 20:26:16 0.0000000000 2.0099999904
2018/10/12 20:26:17 0.0000000000 1.8949999809
2018/10/12 20:26:19 0.0000000000 1.8249999046
2018/10/12 20:26:20 0.0000000000 1.7849999427
2018/10/12 20:26:21 0.0000000000 1.7599999904
2018/10/12 20:26:22 0.0000000000 1.7649999618
2018/10/12 20:26:23 0.0000000000 1.7599999904
2018/10/12 20:26:24 0.0000000000 1.7550000190
2018/10/12 20:26:25 0.0000000000 1.7550000190
2018/10/12 20:26:26 0.0000000000 1.7550000190
2018/10/12 20:26:27 0.0000000000 1.7550000190
2018/10/12 20:26:28 0.0000000000 1.7550000190
2018/10/12 20:26:29 0.0000000000 1.7500000000
2018/10/12 20:26:30 0.0000000000 1.7500000000
2018/10/12 20:26:31 0.0000000000 1.7500000000
2018/10/12 20:26:32 0.0000000000 1.7449999809

Thank you so much :slight_smile:

P_LCD_flow_date_SD.ino (4.99 KB)