Overview:
- This project will allow you to set a breakpoint in your sketch and step through it
- Proper wiring to each device is supported and expected in some cases
- Actual Arduino libraries such as Keypad.cpp are used wherever possible.
Supported Projects/Components
Free CPP Compiler:
The free cpp compiler that was used to build this project can be downloaded from
http://sourceforge.net/projects/orwelldevcpp/
Build/Run instructions:
- Download and install above cpp dev compiler
- Download ArduinoDebugger.zip from this github repository
- Unzip the contents of ArduinoDebugger-master.zip/ArduinoDebugger-master to C:\ArduinoDebugger
- Open C:\ArduinoDebugger\prjArduinoSimulator.dev in cpp dev
- Execute, Rebuild All from cpp compiler (F12)
- Execute, Compile and Run from cpp compiler (F11)
- Ignore Serial Monitor, and select Project, Open Project
- Select an existing project (like SevenSeg.txt)
- This will change a source file called: sketch.ino, so you must close the program and rebuild all (F12) and Run(F11) again
- Again select the same existing poject (like SevenSeg.txt) this time the sketh.ino will not change
- The graphical interface should now behave like expected, and breakpoints can be set in the cpp dev environment to step through the arduino code
Online videos that demonstrate usage:
- [video1](http://www.youtube.com/watch?v=AdZ5GbDC1h0&feature=youtu.be)
- [video2](http://www.youtube.com/watch?v=laa9VnRzuT0&feature=youtu.be)
- [video3](http://www.youtube.com/watch?v=AdZ5GbDC1h0&feature=youtu.be)
- [3 Digit 7 segment display](http://youtu.be/_W_GPd936jg)
- [Rotary Dip](http://www.youtube.com/watch?v=vOSc0lCG9bM&feature=youtu.be)
Last Tested 7/6/2018 on Windows OS: Windows 10
Last Tested with Arduino libraries from version 1.0.2
Questions/Comments paulware@hotmail.com
I have recently discovered TDD which dictates that
all code changes be preceded by a test case enhancement. While I don't have that many test-cases, I do have a suite of
projects which are loaded and tested before every release.
Design Notes
- SimUtilities Class
Contains utilities to list all connections and set a value on the connection - Pull-up Resistor
- pinMode (pinNumber,INPUT);
- digitalWrite (pinNumber,1); // Set pull-up resistor
- Will have constValue.value = 1, and constValue.resistance = 20000
