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

Requirements

Install dependencies with pip: pip install -r requirements.txt
Install the library with pip: pip install .
Note: On linux the user should be in the group dialout
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.1.tar.gz (17.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: atmega-0.0.1.tar.gz
  • Upload date:
  • Size: 17.6 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.1.tar.gz
Algorithm Hash digest
SHA256 8c266854fa72718309e08cab3274b9289a4592ba15b71dafffe91022cc939f51
MD5 c1e66a8e59688b2bcdd22616ea4c0b2e
BLAKE2b-256 5ddb0926a4f2decba7cc19f9cfeb7caf38871568e0bb15f3f9dd9e55ebde008a

See more details on using hashes here.

Supported by

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