• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

EE World Online Articles

Loading
Top