Skip to content

zaraki673/ArduinoDebugger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Project FilesComponentsDescription
LEDSwitch.txtLED, Momentary Depress SwitchLED goes on when switch is pressed
Resistor5VSwitch.txtLED, Resistor, Momentary Depress SwitchLED goes on when switch is pressed
Blinky.txtLEDLED goes on/off automatically
Digit3.txt3 Digit 7 segment display, Momentary Depress Switch7 segment display updates when momentary depress switch presed
Keypad.txt4x4 matrix keypadSerial output updates upon key press
KeypadDisplay.txt4x4 matrix keypad, LCD DisplayLCD display updates upon key press
LCDDisplay.txtLCDDisplay, Momentary Depress SwitchLCD display updates when switch is pressed
SevenSeg.txt7 segment display of single digit7 segment digit increments upon switch press
RotaryDip.txtRotary Dip switchSerial output updates when one of 3 rotary dip switches are changed
ShiftRegister.txt74HC595 Shift Register, LED, Momentary Depress SwitchLEDs connected to shift register update when switch is pressed
Multiplexer.txt4051 MultiplexerWhen switch is depressed multiplexer chooses other input

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 ArduinoDebugger.zip to C:\ArduinoDebugger
  • Open C:\ArduinoDebugger\prjArduinoSimulator.dev in cpp dev
  • Compile and Run, Open a project
  • Rebuild All if the sketch.ino changes
  • Set breakpoints, Debug

Online videos that demonstrate usage:

Last Tested 6/7/2013 on Windows OS: Windows 8

Last Tested with Arduino libraries from version 1.0.2

Questions/Comments [email protected]

Help with projects I can help with projects

I sell on Tindie

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

About

Arduino Debugger/Simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published