Metadata-Version: 2.4
Name: HandsON-BuildHat-API
Version: 1.0.5
Summary: A third-party API for controlling LEGO SPIKE devices
Author-email: HaNeul Jung <caffeine.reload@gmail.com>
License: Proprietary - Personal/Educational Use Only
Classifier: Programming Language :: Python :: 3
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyserial>=3.5
Dynamic: license-file

HandsON Build Hat API
=======
**Production** : HandsON Technology co., ltd.  
**Author** : HaNeul Jung (hnjung@handsontech.co.kr)  
**Last Update** : 2025-08-29

## 주의
2025-08-27 이전 판매된 빌드햇 제품의 경우 1.0.4 버전을 사용  
이후 판매된 모든 빌드햇은 1.0.5 이상의 버전을 사용하십시오.

## 개요
제작된 빌드햇의 제어에 필요한 API 라이브러리

## 구동 환경
### 컨트롤러
|이름|설명|
|:--|:--|
|Raspberry PI 4, 5|정상 동작 확인|
|Jetson Orin Nano, Nano|정상 동작 확인 (하드웨어 구조가 라즈베리파이 버전과 다름)|

### 종속성
 - python3-serial

## 예제
모든 API는 기존 Spike Legacy와 문법적으로 동일  

```python
from HandsON_BuildHat_API import ColorSensor, Motor

motor = Motor('A')
colorsensor = ColorSensor('B')

reflected = colorsensor.get_reflected_light()
motor.start(100)
```

자세한 문법은 Lego Spike Legacy 앱에서 확인
