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
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()
Metadata
Release files for atmega 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| atmega-0.0.2.tar.gz | 19.3 kB | Without provenance | Details for atmega-0.0.2.tar.gz |
Release files / atmega-0.0.2.tar.gz
| Download URL | atmega-0.0.2.tar.gz |
|---|---|
| Size | 19.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d097ba7a9cd031e9dc601bdca486c87ea3b3e35ed8a511c2b5302682940b3bee
|
|
BLAKE2b-256 checksum How to use checksums |
c81db4e227b5cc955f2f021826dbc476dfe24d88b16e073b1860f23100c415e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for atmega 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.