atmega 0.0.2

Last updated:

0 purchases

atmega 0.0.2 Image
atmega 0.0.2 Images
Add to Cart

Description:

atmega 0.0.2

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.