Skip to main content

The Microstack common functions module.

Project description

microstackcommon

Common functions for interacting with Microstack products.

Contains some core helper functions and pure Python drivers for accessing GPIO pins, SPI and I2C buses.

Currently in active development. Still need to experiment with SMBus for Python 3.

Documentation

[http://microstack-iot.github.io/](http://microstack-iot.github.io/)

Install

Make sure you are using the latest version of Raspbian:

$ sudo apt-get update $ sudo apt-get upgrade

Install microstackcommon for Python 3 with the following command:

$ sudo apt-get install python3-microstackcommon

You will also need to set up automatic loading of the SPI kernel module which can be done with the latest version of raspi-config. Run:

$ sudo raspi-config

Then navigate to Advanced Options, SPI and select yes. Change Log ==========

v0.2.0

  • Removed most of the spi/gpio group stuff becasue of new Raspbian rules.

  • Updated GPIO.

  • Cleaned up and adding to PyPi.

v0.1.1

  • Added i2c_dev to modules in install proceedure.

v0.1.0

  • Inital structure.

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

microstackcommon-0.2.1.tar.gz (11.1 kB view details)

Uploaded Source

File details

Details for the file microstackcommon-0.2.1.tar.gz.

File metadata

File hashes

Hashes for microstackcommon-0.2.1.tar.gz
Algorithm Hash digest
SHA256 52714fc4dabe6c49904c48ec06047013cd026c7e21cec9521fcfbe45bbfdb941
MD5 44ebcadf6680d75e35ab4512d5f31ff1
BLAKE2b-256 f0303f52abb404662e840cf83cec19d1ce9f85fca646cd6da5d1599d57339a21

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