Arduino: Better way to monitor variables than Serial.print()? -
when test code, add serial.print messages temporarily, see code does. quite tedious, because there's no such thing printf() in arduino world. plus forget remove serial.print()s , must search them later in code remove them. , if put serial.print()s loop, output scroll fast can't track how values changing. need delay(), yet piece of test code remove later. there library or tool out there makes task easier?
if you've got visual studio can use visualmicro real debugging including breakpoints , value monitoring: http://www.visualmicro.com/page/debugging-for-arduino.aspx
it works community edition of visual studio (which free): http://www.visualstudio.com/products/visual-studio-community-vs
i've used visualmicro lot , it's real time saver because can focus on debugging , not on adding log calls.
Comments
Post a Comment