For anyone learning C the online C compiler and debuggers are an excellent learning tool. On another thread someone asked about adjusting a tachometer using an Arduino. I posted some code and then uploaded it to here. If you follow the link and click run the output is on the bottom. You can edit it and see the way the values are used. You can also single step through the code by first setting a breakpoint - click to the left of the line numbers and a red dot should appear. To run to the breakpoint, click debug and once it's compiled click start at the bottom. Once it stops at your breakpoint you can use "step into" to single step.
I think this ie especially useful now with many people getting into Arduino and not having any debug capabilities except for Serial.print. You can now fully debug complex routines before uploading to the Arduino.
Mike.
I think this ie especially useful now with many people getting into Arduino and not having any debug capabilities except for Serial.print. You can now fully debug complex routines before uploading to the Arduino.
Mike.