Skip to content
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

Arduino code logger #21

Open
raquelalegre opened this issue May 14, 2015 · 1 comment
Open

Arduino code logger #21

raquelalegre opened this issue May 14, 2015 · 1 comment

Comments

@raquelalegre
Copy link
Contributor

I've seen a few variables and comments in ScouseTom_Control about debugging your Arduino code. Visual Micro, which you are starting to use now, seems the ideal tool for this, as well as Eclipse+Arduino's plugin, but if you intend to pass this code to other users that don't have/want Visual Micro or Eclipse, there's also the less sofisticated, oldfashioned way.

We can easily build a library that uses Serial.print() underneath and you can import to print out things only when running in debug mode. You wouldn't need to comment/uncomment all the Serial.print() lines all the time, just import this library and replace your debug print messages to DEBUG_PRINT() or similar. It'll only print stuff out when in debug mode, and be ignored otherwise. See this post.

Are you up for this, @Jimbles? We could try it tomorrow if you like.

@raquelalegre
Copy link
Contributor Author

This logging library seems a better solution.

@raquelalegre raquelalegre changed the title Debug Arduino code Arduino code logger Jul 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant