Online C compilers/debuggers.

Status
Not open for further replies.

Pommie

Well-Known Member
Most Helpful Member
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.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…