Hi I’m currently trying to merge two existing codes i found online so that i can excess the data collected from sensor to a web server. I am currently using an Arduino Ethernet Shield which is connected to a router. The code i’m currently trying to merge is the one from this website (Scroll down to “Displaying sensor data on a web page”) and the one attached. I’ve also attached the merged code i came out with and i need help on how to improve it. Basically what i was attempting to do was to create a sub routine for the calculation of my sensors and for it to be called upon constantly using the “while” in my loop program.
Mergedcode.ino (6.18 KB)
FlowMeterDIY.ino (3.85 KB)