You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 toDEBUG_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.
The text was updated successfully, but these errors were encountered: