skip to navigation
skip to content

sense-hat 2.2.0

Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission

Package Documentation

Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission - an education outreach programme for UK schools sending code experiments to the International Space Station.

Hardware

The Sense HAT features an 8x8 RGB LED matrix, a mini joystick and the following sensors:

  • Gyroscope
  • Accelerometer
  • Magnetometer
  • Temperature
  • Humidity
  • Barometric pressure

Installation

To install the Sense HAT software, enter the following commands in a terminal:

sudo apt-get update
sudo apt-get install sense-hat
sudo reboot

Usage

Import the sense_hat module and instantiate a SenseHat object:

from sense_hat import SenseHat

sense = SenseHat()

Documentation

Comprehensive documentation is available at pythonhosted.org/sense-hat

Open Source

 
File Type Py Version Uploaded on Size
sense-hat-2.2.0.tar.gz (md5) Source 2016-07-13 13KB
sense_hat-2.2.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2016-07-13 14KB