Crate sensehat[−][src]
A driver for the Raspberry Pi Sense HAT
The Sense HAT is a sensor board for the Raspberry Pi. It features an LED matrix, a humidity and temperature sensor, a pressure and temperature sensor and a gyroscope.
Supported components:
- Humidity and Temperature Sensor (an HTS221)
- Pressure and Temperature Sensor (a LPS25H)
- Gyroscope (an LSM9DS1, requires the RTIMU library)
Currently unsupported components:
- LED matrix
- Joystick
Structs
Angle |
The 'Angle' struct can be used to deal with angles in a common way. |
Colour |
24-bit RGB color pixel. |
Orientation |
Represents an orientation from the IMU |
Pressure |
The |
RelativeHumidity |
Represents a relative humidity reading from the humidity sensor |
SenseHat |
Represents the Sense HAT itself |
Temperature |
The |
Vector3D |
Represents a 3D vector |
Enums
SenseHatError |
Errors that this crate can return |
Type Definitions
SenseHatResult |
A shortcut for Results that can return |