Hi.
I have been using SimpleCLI and developing code from your examples. I decided to change from the default number of arguments.
SimpleCLI cli(10);
This fails on an Arduino UNO with the message:
Compilation error: macro "cli" passed 1 arguments, but takes just 0
This is because the Arduino UNO system defines a macro "cli".
The code works on and Arduino DUE.
It is possible to do
#undef cli
I think it is better to change the name of the declared object from "cli" to something else in the examples.
Thank you for your work
John Fletcher
Hi.
I have been using SimpleCLI and developing code from your examples. I decided to change from the default number of arguments.
SimpleCLI cli(10);
This fails on an Arduino UNO with the message:
Compilation error: macro "cli" passed 1 arguments, but takes just 0
This is because the Arduino UNO system defines a macro "cli".
The code works on and Arduino DUE.
It is possible to do
#undef cli
I think it is better to change the name of the declared object from "cli" to something else in the examples.
Thank you for your work
John Fletcher