With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
I tryed and it's works fine with some trick. Many thhank for your help and a your time.This instructable is the best base that i have tested for multi nodes.Regards
Thanks you;My problem is i want to put tempC(node 1) and tempC(node2) and tempF(node 1) and tempF(node2) in String.I have code for sending my other sensors like that:data = "temp=" + String(t) + "&humi=" + String(h);String request = "GET /add.php?" + data + " HTTP/1.0\r\n";If i put for example :data =NodeTempF[header.from_node]; //NO OKSerial.print(NodeTempF[header.from_node]); //OKI have an error.I hope i explain myself well.Thank youRegards.
Hi msuzuki777,I've tested char data and it seems to work. Thanks a lot for that. I tested more this afternoon.Thank you!!
I have this error with these code:cannot convert 'float' to 'char*' for argument '4' to 'char* dtostrf(double, signed char, unsigned char, char*)'I want to extract each value separately if possibleI don't understand.i see dtostrf()Thank!
Hi,Can someone explain to me how to extract values of each node string in a "float".I tested several method but no luck. I would put these value in MySql database. When i Serial.print(payload.tempC) i obtain the value but she is generic if i connect other nodes to base.Thanks in advance. Sorry for my english...Regards
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.