python wrapper for simavr which is AVR and arduino simulator.
Project description
pysimavr is a python wrapper for simavr which is AVR and arduino simulator
- Links:
documentation: http://ponty.github.com/pysimavr
- Features:
- Known problems:
Python 3 is not supported
tested only on linux
low sound quality
more test needed
PWM simulation is not real-time
missing PWM modes
a lot of messages on stdout
Basic usage
>>> from pysimavr.avr import Avr >>> avr=Avr(mcu='atmega48',f_cpu=8000000) >>> firmware = Firmware('lcd.elf') >>> avr.load_firmware(firmware)
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pysimavr-0.0.2-py2.6-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9b7d68ae50a171b09fff287bb2c6fffc0ef612fecc61d047ffe0b685a186e59 |
|
MD5 | 159cd696e1466933e8d1d8c33c1efa73 |
|
BLAKE2b-256 | b2e14c31d45c325356ab30be41bcffad3ecc9b07ba7391e0dfe26f1dbe627510 |