Support Board
Date/Time: Sat, 20 Dec 2025 19:09:29 +0000
Post From: Code help, using a string instead of a constant
| [2023-08-27 20:54:43] |
| User431178 - Posts: 829 |
|
And again, the const char* DOES pick up the value of the input string as expected, but only the first time.
As I said before, const char* goes out of scope at the end of each iteration of the main loop, 100% guaranteed it is reading the value of the other inputs.The attached code works as expected (sligtly modified from what you posted), see also screenshot. |
| |
