Greetings gents,
Can anyone help with a simple sketch to upload data from four sensors to a pachube feed ?
I have adapted the scrip that Jose Anes put together and it works for about one hour and after that freezes my Mega not only the feed. For the life of me I could not figure out for the last week what is going wrong. ... very frustrating.
Many thanks,
Marian
here is the only modification that I've done to Jose's script:
void collectSensorData () {
assignSensorData (0, temp_Current, "Water temperature", "F");
assignSensorData (1, pH_val, "pH value", "pH");
assignSensorData (2, orp_val, "Reef ORP value ", "mV");
assignSensorData (3, orpSD_val, "Sulfur denitrator ORP", "mV");
}
void assignSensorData (int i, double value, char * label, char * units) {
sensorValues = value;
_ sensorLabels = label;_
_ sensorUnits = units;
}_