Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

handson_buildhat_api-1.0.14.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

handson_buildhat_api-1.0.14-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file handson_buildhat_api-1.0.14.tar.gz.

File metadata

  • Download URL: handson_buildhat_api-1.0.14.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for handson_buildhat_api-1.0.14.tar.gz
Algorithm Hash digest
SHA256 f0cec50222846e6a16606c7ff4a50f1422c1b4c5538dfe5dda0edfdbb51510a1
MD5 623b9cb9883e66b4c4186a72bf02296e
BLAKE2b-256 d218b5c5154dae3d2dac99bc0e55664c7efd88051eff71f2689ad464f2c19f7d

See more details on using hashes here.

File details

Details for the file handson_buildhat_api-1.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for handson_buildhat_api-1.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 4a6e2a3c31de086dd093e13a2a12cee60e921408bc8b68bcb97a3c1813b38c77
MD5 3595b5a7d5f69e63061af462ad2f7d8d
BLAKE2b-256 6c848633a0e96bb5b350187893874132e204c2593fbcb8fc0d2375b66473a321

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page