curratore / python-sense-hat

Source code for Sense HAT Python library

Home Page:https://pythonhosted.org/sense-hat/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sense HAT

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

Buy

Buy the Sense HAT from:

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

Contributors

Open Source

About

Source code for Sense HAT Python library

https://pythonhosted.org/sense-hat/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%