Metadata-Version: 1.0
Name: pysimavr
Version: 0.0.4
Summary: python wrapper for simavr which is AVR and arduino simulator.
Home-page: https://github.com/ponty/pysimavr
Author: ponty
Author-email: UNKNOWN
License: GPL
Description: pysimavr is a python wrapper for simavr_ which is AVR_ and arduino_ simulator
        
        Links:
         * home: https://github.com/ponty/pysimavr
         * documentation: http://ponty.github.com/pysimavr
         
        Features:
         - python wrapper using swig_
         - simavr_ source code is included for easier installation
         - object oriented interface on top of the generated interface
         - maximum speed can be real-time
         - serial communication
         - check simavr_ documentation
         
        Known problems:
         - included simavr_ source code is not up to date
         - Python 3 is not supported
         - tested only on linux
         - more tests needed
         - PWM simulation is not real-time
         - missing PWM modes
         - a lot of messages on stdout
         - LCD simulator is not fully implemented
        
        Possible usage:
         - unit test
         - simulator
         
        Similar projects:
         - simavr_
         - `emulino <http://hewgill.com/journal/entries/507-emulino-arduino-cpu-emulator>`_ 
         - `Arduino Unit <http://code.google.com/p/arduinounit/>`_
         - `arduemu <http://radpartbrainmat.blogspot.com/search/label/arduemu>`_
         
        Basic usage
        ============
        
            >>> from pysimavr.avr import Avr
            >>> avr=Avr(mcu='atmega48',f_cpu=8000000)
            >>> firmware = Firmware('lcd.elf')
            >>> avr.load_firmware(firmware)
        
            
            >>> from pysimavr.sim import ArduinoSim
            >>> print ArduinoSim(snippet='Serial.print("hello!");').get_serial()
            hello!
        
        Installation
        ============
        
        check simavr_ doc: http://gitorious.org/simavr/pages/GetStarted
        
        ignore these in simavr_ doc:
         - OpenGl (freeglut)
         - gcc-avr
         - avr-libc
         - make
         
        General
        --------
        
         * install python_
         * install setuptools_
         * install swig_ (for source build only)
         * install header files and a static library for Python  (for source build only)
         * install a compiler  (for source build only)
         * install elf library 
         * install the program::
        
            # as root
            easy_install pysimavr
        
        
        Ubuntu
        ----------
        ::
        
            sudo apt-get install python-setuptools
            sudo apt-get install swig
            sudo apt-get install python-dev
            sudo apt-get install gcc
            sudo apt-get install libelf-dev
            sudo easy_install pysimavr
        
        Uninstall
        ----------
        
        first install pip_::
        
            # as root
            pip uninstall pysimavr
        
        
        .. _setuptools: http://peak.telecommunity.com/DevCenter/EasyInstall
        .. _pip: http://pip.openplans.org/
        .. _arduino: http://arduino.cc/
        .. _python: http://www.python.org/
        .. _simavr: http://gitorious.org/simavr
        .. _swig: http://www.swig.org/
        .. _avr: http://en.wikipedia.org/wiki/Atmel_AVR
        
        
Keywords: avr simavr
Platform: UNKNOWN
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
