Skip to content

Dzenik/simduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simduino - run an Arduino sketch from the command-line

HelloWorld.gif

Features

  • Test out a sketch without the hardware, or prior to purchasing hardware.
  • Simulated Hardware:
  • a Light bulb.
  • a 16x2 LCD HD44780 controller.

Included Libraries:

Supported Arduinos

  • Atmega8

Documentation

Checkout the Simduino repository:

$ git clone git://github.com/koppi/simduino.git

Install the SDL library and gcc (tested with Ubuntu 12.10):

$ sudo apt-get -y install g++-4.7 gcc-4.7 libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libsdl-gfx1.2-dev

Build the Simduino test sketches:

$ cd simduino
$ make all
 Building Tutorial/02-Blink
  cc main.cpp
  cc AFMotor.cpp
  cc AccelStepper.cpp
  cc Arduino.cpp
  cc HardwareSerial.cpp
  cc I2CIO.cpp
  cc LCD.cpp
  cc LCD_I2C.cpp
  cc Print.cpp
  cc Stream.cpp
  cc WString.cpp
  cc Wire.cpp
  ld libSimduino.a
 Built libSimduino.a
  ld 00-BareMinimum.exe
 Building Tutorial/02-Blink
  cc main.cpp
  cc sim.cpp
  ld 01-Blink.exe
[...]

Run a test sketch from the command-line:

02-Blink.gif

Press CTRL+C to terminate the program. Have fun!

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published