Skip to main content

Provides an API for atmega devices (memory manipulation)

Project description

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atmega-0.0.2.tar.gz (19.3 kB view details)

Uploaded Source

File details

Details for the file atmega-0.0.2.tar.gz.

File metadata

  • Download URL: atmega-0.0.2.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for atmega-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d097ba7a9cd031e9dc601bdca486c87ea3b3e35ed8a511c2b5302682940b3bee
MD5 1504d3c2d2f46194800e20c8dfb29b36
BLAKE2b-256 c81db4e227b5cc955f2f021826dbc476dfe24d88b16e073b1860f23100c415e2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page