用于控制Raspberry Pi Sense HAT的Python模块,最初用于Astro Pi任务
项目描述
#Sense HAT
Python模块,用于控制在《Astro Pi》任务中使用的Raspberry Pi
Sense HAT - 一个针对英国学校的教育活动,将这些学校的代码实验发送到国际空间站。
硬件
Sense HAT具备一个8x8 RGB LED矩阵、一个迷你摇杆和以下传感器
- 陀螺仪
- 加速度计
- 磁力计
- 温度
- 湿度
- 气压
购买
从以下商家购买Sense HAT
The Pi Hut
Pimoroni
Amazon (UK)
element14
adafruit
Amazon (USA)
安装
要安装Sense HAT软件,请在终端中输入以下命令:
sudo apt-get update
sudo apt-get install sense-hat
sudo reboot
用法
导入sense_hat模块并实例化SenseHat对象:
from sense_hat import SenseHat
sense = SenseHat()
文档
详细的文档可在https://sense-hat.readthedocs.io/en/latest/
找到。
贡献者
Dave Honess
Ben Nuttall
Serge Schneider
Dave Jones
Tyler Laws
George Boukeas
开源
- 代码根据
BSD许可证
授权 - 项目源代码托管在
GitHub
- 请使用
GitHub issues
提交错误和报告问题
URLs
- Raspberry Pi: https://www.raspberrypi.org/
- Astro Pi: http://www.astro-pi.org/
- sense-hat.readthedocs.io: https://sense-hat.readthedocs.io/en/latest/
- Dave Honess: https://github.com/davidhoness
- Ben Nuttall: https://github.com/bennuttall
- Serge Schneider: https://github.com/XECDesign
- Dave Jones: https://github.com/waveform80
- Tyler Laws: https://github.com/tyler-laws
- George Boukeas: https://github.com/boukeas
- BSD许可证: https://open-source.org.cn/licenses/BSD-3-Clause
- GitHub: https://github.com/astro-pi/python-sense-hat
- GitHub Issues: https://github.com/astro-pi/python-sense-hat/issues
The Pi Hut
: http://thepihut.com/products/raspberry-pi-sense-hat-astro-piPimoroni
: https://shop.pimoroni.com/products/raspberry-pi-sense-hatAmazon (UK)
: http://www.amazon.co.uk/Raspberry-Pi-2483095-Sense-HAT/dp/B014T2IHQ8/- element14: https://www.element14.com/community/docs/DOC-78155/l/raspberry-pi-sense-hat
- adafruit: https://www.adafruit.com/products/2738
- Amazon (USA): http://www.amazon.com/Raspberry-Pi-Sense-HAT-AstroPi/dp/B014HDG74S
项目详情
下载文件
下载适用于您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。
源分布
sense-hat-2.6.0.tar.gz (18.6 kB 查看哈希值)
构建版本
sense_hat-2.6.0-py3-none-any.whl (18.1 kB 查看哈希值)
关闭
sense-hat-2.6.0.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 9fd1b3bb1bd98c51f3fe4099cd246884da0aa12c3acfc64c826be0153b9ae10e |
|
MD5 | f2ff54a60b99558bbbd2e4a3b8f7eca6 |
|
BLAKE2b-256 | 143a23cfedbbad061e36d1441b66b23403cc4a5becd9c09348be7ef2bea37791 |
关闭
sense_hat-2.6.0-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 2934335c656a35026eb3a28e8ed129fb16265509b5e7b0b94930c039b1cb3472 |
|
MD5 | 3e02ae9cd96d646831978109d80faeaa |
|
BLAKE2b-256 | f57316d26aadb8f2635b7ce758491883eac8f44bb7d1ee4625afdc3143723f06 |