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 (caffeine.reload@gmail.com)
Last Update : 2025-06-07

개요

제작된 빌드햇의 제어에 필요한 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.3.tar.gz (5.1 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.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: handson_buildhat_api-1.0.3.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for handson_buildhat_api-1.0.3.tar.gz
Algorithm Hash digest
SHA256 85e5a9453992e1a0c6bb5b414a82a8ac66d0a3e68144156287b4eb4d623592c9
MD5 4be7a6025e2e5dc262a1b7db8710607f
BLAKE2b-256 fd25ccc7790de81f37961685cfe612f6243dc51dab5daaeb9986ba149463a094

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for handson_buildhat_api-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1dea71169b3f9f236ebb7e01a1b72afa7141701f1d744e8c3ee5985707e3aedf
MD5 088f12887620f9e90c905ed2cd445b32
BLAKE2b-256 e6792d8389b0c312d3674004d0bf4bddf46c1bca39bc1ed65f9fce69f0f41061

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