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.23.tar.gz (6.5 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.23-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for handson_buildhat_api-1.0.23.tar.gz
Algorithm Hash digest
SHA256 7b3a2e1f414bb51c255d37429d0ce4bc5e3732484f8fbae728b08f26222bb37d
MD5 cb5eba64a15db9fd2907d65796d5c6eb
BLAKE2b-256 8e5a1743ab138c385abd7e63a8a94c29e365f65881369eaf25bc075e0f71ea21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for handson_buildhat_api-1.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 eb91eabb8043dee75245bf94c7c5b2274918646b6b57e9db0d26a8b92d49b339
MD5 0e76cf3de8cd7737af236e29d7c05559
BLAKE2b-256 3c42ade9789e7750de088f861db28de1de2658bf86031d02e6c193e950156172

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