Skip to main content

The Microstack node functions module.

Project description

microstack-node
================
Common functions for interacting with Microstack node boards (Accelerometer,
GPS, etc).

Documentation
=============
[http://python3-microstacknode.readthedocs.org](http://python3-microstacknode.readthedocs.org)


Controlling the on board OK LED (Raspberry Pi)
==============================================

# disable mmc0 for led
echo none >/sys/class/leds/led0/trigger

# enable mmc0 for led
echo mmc0 >/sys/class/leds/led0

# turn on led
echo 1 >/sys/class/leds/led0

# turn off led
echo 0 >/sys/class/leds/led0
Change Log
==========

v0.4.4
------
- Some more fiddling for PyPi.

v0.4.0
------
- mma8452 accelerometer now returns dictionary for xyz instead of tuple.
This was confusing as it's unexpected for a method to return three values.
*Explicit is better than implicit.*
- Improved docs -- uploaded to readthedocs.

v0.3.0
------
- Fixed mma8452 accelerometer bug. `get_xyz()` now returns values in Gs no
matter what the range is set as. That is, set the range to be 8G and the
`get_xyz()` will return 1 is the accelerometer is only experiencing 1G.
- Changed mma8452 register implementation.
- Added mma8452 SI units method.

v0.2.0
------
- Moved internal hardware drivers to hardware directory.
- Added display and humidity/temperature sensor drivers.
- Added examples for drivers.
- NOT updated HTML docs for new changes. This will be done in the next
update.

v0.1.1
------
- Changed docs for new install instructions (altered name) and also
changed default address for accelerometer.

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

microstacknode-0.4.5.tar.gz (24.4 kB view hashes)

Uploaded Source

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