Skip to content

[ACELL03] Examples cannot be in headless mode without Serial #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
8 tasks
aliphys opened this issue May 22, 2024 · 1 comment
Closed
8 tasks

[ACELL03] Examples cannot be in headless mode without Serial #20

aliphys opened this issue May 22, 2024 · 1 comment
Labels
conclusion: declined Will not be worked on topic: documentation Related to documentation for the project type: enhancement Proposed improvement

Comments

@aliphys
Copy link
Contributor

aliphys commented May 22, 2024

The Serial monitor, together with the .setDebugStream(Serial) option provided in the Arduino_Cellular library, provides additional information on the sketch as it is executed. This can be useful for understanding/debugging the sketch by users without relying on an external JTAG interface.

Given that the Arduino_Cellular library is designed to be used with the Portenta C33/H7 (See #18) as a standalone device, the examples should also be usable in headless mode (with the while (!Serial); line commented). To this end, LED indicators (e.g. digitalWrite(LRED, HIGH)) should be used on the following sketches.

@aliphys aliphys added the type: enhancement Proposed improvement label May 22, 2024
@per1234 per1234 added the topic: documentation Related to documentation for the project label May 23, 2024
@sebromero
Copy link
Contributor

I'd argue that the examples are meant to be used in combination with Serial to understand clearly what's happening in the code. Removing the need for Serial in a production sketch can be left as an exercise to the user.

@per1234 per1234 added the conclusion: declined Will not be worked on label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: declined Will not be worked on topic: documentation Related to documentation for the project type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants