snappyatmega
is a SNAPpy library that extends the functionality of Synapse SNAP modules that utilize the ATmega128RFA1.
Download and extract the latest release zip file to Portal's snappyImages
directory.
By default, this is located at ...\Documents\Portal\snappyImages
on Windows.
The easiest way to install snappyatmega
for use with SNAPbuild is using pip:
pip install git+https://github.com/synapse-wireless/snappy-atmega.git@master
Alternatively you can download the source, extract it, and install it:
python setup.py install
To use the snappyatmega
library functions either import the entire library:
from snappyatmega import *
or import just the parts you need:
from snappyatmega.math import *
from snappyatmega.rtc import *
from snappyatmega.timers import *
from snappyatmega.sensors import *
Copyright © 2016 Synapse Wireless, licensed under the Apache License v2.0.