Skip to content

ChrisMicro/ArduinoOnPc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArduinoOnPc

What?

With this software you can run an Arduino Sketch on your PC or a Raspberry Pi. You don't need an Arduino hardware. The focus here is mainly on TFTs connected to an Arduino.

This software is made for Linux using the X11 window manager. If you want to use it on windows the only current option is a virtual machine.

Why?

Some Arduino boards do not have a debugging possibility. To find the errors in your sketches it might be usefull to be able to use a debugger. Using this tool you can debug your program locally, and develop without having to tinker with any additional hardware.

Installation

Requirements

You need gcc and make installed.

X11

To emulate a TFT this project uses X11. Therefore you have to install X11 support.

Debian/Ubuntu

sudo apt-get install libx11-dev

Arch Linux

sudo pacman -Sy libx11

Compilation

Makefile

# cd into any example in examples folder, for example:
cd examples/Adafruit_touchpaint

# Compile the code
make

# Execute
./Adafruit_touchpaint

Adding Libraries

How to include other (non hardware dependent) libraries

  • copy them to the /libraries folder
  • add the relative path to the include file to your project's Makefile (including "src" if needed, e.g. like this: ARDUINO_LIBS += YACL/src)

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •