Skip to main content
8 events
when toggle format what by license comment
Jun 5, 2020 at 10:44 vote accept Tomas
Jun 5, 2020 at 10:43 comment added Tomas I understand now The array should be int and only when i complete the string request i add the messages. Thank you I will do so. You helped me alot
Jun 5, 2020 at 10:40 comment added Tomas I use it as addresses. inOut[0][1] is the first item on the first page. It should be modular. I don't know in advance which address will be int and which string or what will be the text in it
Jun 5, 2020 at 10:39 comment added Majenko Do you really need to store the text "Something overfilled" in your array? Why not just a simple flag that says something overfilled, then when you construct your request you say "Is the something overfilled flag 1? Yes? Ok, send 'something overfilled'".
Jun 5, 2020 at 10:38 comment added Tomas 80%of the values are numbers but not all. I wanted to have one inOut array with all my values. I try to make a web gui. This inOut array will store the values of Analog values, digital values or messages like "Something overfilled". I created the Website and the javascript so that i doesnt need to change the html, css or javascript. All i need to do is to program the sketch.
Jun 5, 2020 at 10:27 comment added Majenko Why use strings at all? You have numbers. Store them as such. You only care about them being stringified when you construct your HTTP request.
Jun 5, 2020 at 10:20 comment added Tomas My point is to add it to a String array. In the function setH i add it via inOutSet() to the two dimensional array inOut[][]. I then send a string message to my website that is completed in dataRequest(). It adds part of the array to one string that i send back to my website. I know that String is a little bit overkill for the poor processor. Any better idea?
Jun 5, 2020 at 8:53 history answered Majenko CC BY-SA 4.0