Hi !
I work with arduino uno. I’m developping some new extensions.
Does anybody could give me some hint on how to implement type check (as advised in the coding standard).
For instance, if I have an integer parameter, the use may concatenate a string and my code would have to interpret String(“5”) + String(“0”) as 50. And of course, the same code as to work if an integer is provided.
I guess this could may be done using va_list but I did not find a way to get the type of the argument.
Did anybody succeed to implement this requirement in arduino ?