Skip to main content

The Microstack common functions module.

Project description


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.




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 ==========


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

  • Updated GPIO.

  • Cleaned up and adding to PyPi.


  • Added i2c_dev to modules in install proceedure.


  • Inital structure.

Project details

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page