Skip to content

koppi/simduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simduino

Run an Arduino sketch from the Linux command-line.

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 -y install g++ gcc 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:

cd Tutorial/01-Basics/02-Blink
./02-Blink.exe

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

Authors

  • © 2012-2022 Jakob Flierl - koppi

About

Run an Arduino sketch from the command-line (in Linux user-space).

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Languages