A third-party API for controlling LEGO SPIKE devices
Project description
HandsON Build Hat API
Production : HandsON Technology co., ltd.
Author : HaNeul Jung (hnjung@handsontech.co.kr)
Last Update : 2025-09-01
주의
2025-08-27 이전 판매된 빌드햇 제품의 경우 1.0.4 버전을 사용
이후 판매된 모든 빌드햇은 1.0.5 이상의 버전을 사용하십시오.
개요
제작된 빌드햇의 제어에 필요한 API 라이브러리
구동 환경
컨트롤러
| 이름 | 설명 |
|---|---|
| Raspberry PI 4, 5 | 정상 동작 확인 |
| Jetson Orin Nano, Nano | 정상 동작 확인 (하드웨어 구조가 라즈베리파이 버전과 다름) |
종속성
- python3-serial
예제
모든 API는 기존 Spike Legacy와 문법적으로 동일
from HandsON_BuildHat_API import ColorSensor, Motor
motor = Motor('A')
colorsensor = ColorSensor('B')
reflected = colorsensor.get_reflected_light()
motor.start(100)
자세한 문법은 Lego Spike Legacy 앱에서 확인
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file handson_buildhat_api-1.0.13.tar.gz.
File metadata
- Download URL: handson_buildhat_api-1.0.13.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65aa13cd9a02fb3ed92182bf1248c91ca36b9bebd99b51092e9d1e4ac9c1ddb1
|
|
| MD5 |
3ddf6721c54d055fe27b1e65a7aeabf4
|
|
| BLAKE2b-256 |
c780b29d45facbec37d99075410780a31d154be7d783e4411e029770329499af
|
File details
Details for the file handson_buildhat_api-1.0.13-py3-none-any.whl.
File metadata
- Download URL: handson_buildhat_api-1.0.13-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05baa0431d193821edee4ec51659c7c85553b703a000417c48a330fa2b9706c1
|
|
| MD5 |
119bc12b9e0e540a3f385e84d4390658
|
|
| BLAKE2b-256 |
2a2412b3500585dc66dbfdb38274598b41deca0d9233d4e32565fa11b921589b
|