Skip to content

blbltheworm/yarpie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YARPIE

yet another raspberry pi emulator

What is YARPie

YARPie is a python module capable of emulating the GPIO port of a Raspberry Pi on your PC (currently only rev. 3, i.e. the 40 pin header of A+/B+ and above). It is designed to test/develop your projects without having access to a Raspberry Pi. It comes with a full implementation of RPi.GPIO 0.6.3 and a way to emulate i2c-devices as well. Pygame is used to display and control the emulated GPIO pins + i2c-devices. Using YARPie requires only minimal changes to your existing python script. Implemantations of other Pi revisions as well as a SPI-module are planed. For details and examples have a look at "manual.pdf".

How to install and use

The current version was developed for python 2.7. To install YARPie:

  1. Install pygame
  2. copy the "RPi_emu" sub folder from the "python2.x" folder to your python2.x modules folder (e.g. "/usr/local/lib/python2.7/dist-packages/") or your project folder. In case of python 3 use "RPi_emu" from "python3.x".

To use YARPie: If your projects only uses the GPIO pins simply replace "import RPi.GPIO as GPIO" by "import RPi_emu.GPIO as GPIO" and run your script. For details and more advanced usage of YARPie have a look at manual.pdf and/or the provided examples.

License

See LICENSE file

About

YARPie - yet another raspberry pi emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages