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:
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:
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
Ubuntu
sudo apt-get install python-pip sudo apt-get install swig sudo apt-get install python-dev sudo apt-get install gcc sudo apt-get install libelf-dev sudo pip install pysimavr
Uninstall
# 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
pysimavr-0.0.7.tar.gz
(189.6 kB
view hashes)
Built Distribution
Close
Hashes for pysimavr-0.0.7-py2.7-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | d52c85b26b562942cbcd8365a71121ec47c16c9e0234292becee654c72b90482 |
|
MD5 | 651221d6721e2ae378b799e3cc693622 |
|
BLAKE2b-256 | 7f2051c59fcb9c5e3aec96b84b0afc00ecd8936a64e9f6067da81bede2ba6db7 |