atmega-0.0.2
توضیحات
Provides an API for atmega devices (memory manipulation)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | atmega-0.0.2 |
| نام | atmega |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sofiane DJERBI, Ny Aina PEDERSEN, Aymes FREZJA, Nour LADHARI, Yanis ACHAICHIA, Amine OTMANE |
| ایمیل نویسنده | sofiane.djerbi@etu.univ-grenoble-alpes.fr |
| آدرس صفحه اصلی | https://github.com/CEA-IM2AG/ATMEGA-API |
| آدرس اینترنتی | https://pypi.org/project/atmega/ |
| مجوز | - |
# ATMEGA API
Provides an API for ATMEGA microcontroller through an FTDI USB device.
**Installation:** `pip install atmega`
**Note:** On linux the user should be in the group `dialout` and `uucp`
# Local installation
## Requirements
**Install dependencies** with pip: `pip install -r requirements.txt`
**Install the library** with pip: `pip install .`
**Run tests:** `python setup.py test`
# Usage
```python
import logging
from atmega.ram import RAM
# Set global logging level
logging.basicConfig(level=logging.INFO)
# Create device ram object
dev = RAM()
# Reset ram to 0x11
dev.reset(0x11)
# Set high baudrate
dev.change_baudrate(1000000)
# Dump ram into file
dev.dump_to_file("dump.txt")
# Close device
dev.close()
```
نحوه نصب
نصب پکیج whl atmega-0.0.2:
pip install atmega-0.0.2.whl
نصب پکیج tar.gz atmega-0.0.2:
pip install atmega-0.0.2.tar.gz