Hello,
I am writing a program which calculates the real Power and Energy Measurement and then store it inside SQL database. Now, I want to change it a little.
What I want is to store the Power and Energy Measurements after 30 or xxx sec inside an array and then send it after 60 sec or yyy sec. i.e. I want to send two or more calculated values after some specific time. It is like a buffer to store the values and send it later on.
I am sending the data to remote server using GPRS module.
How can I do it? How to create a buffer or array that holds the data for some specific time?
I am writing a program which calculates the real Power and Energy Measurement and then store it inside SQL database. Now, I want to change it a little.
What I want is to store the Power and Energy Measurements after 30 or xxx sec inside an array and then send it after 60 sec or yyy sec. i.e. I want to send two or more calculated values after some specific time. It is like a buffer to store the values and send it later on.
I am sending the data to remote server using GPRS module.
How can I do it? How to create a buffer or array that holds the data for some specific time?