Hello all, I made a scetch for an UNO which controls both our heat pump and our central-heating boiler, depending on around 6 temperatures measured at different places within the heating system, and also a few digital inputs. There are many IFs and dependences. MANY. Well, it seems to work, but quite difficult to test. No chance to test with the true heating system, its by far too slow. And in summer not possible.
So the idea, replace the temp sensor inputs by variables and change them during runtime. But how? Serial.read() can read one variable (or string) only at a time, no random entry possible. My best idea up to now, input strings like "T1: 45" , and have a parser which understands that T1 is my variable I want to change, and then allocates 45 to it. Not so fancy, but might work. Any better idea? If not, I need to write a parser also... but I'm not so good when it comes to string manipulations.
I'm pretty sure that somebody else had the same situation already... I just could not find a solution in the forum. Thanks for any help!