esp32-magnet-1.0.0
توضیحات
A toolkit to trigger electromagnet
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | esp32-magnet-1.0.0 |
| نام | esp32-magnet |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ClaireChen |
| ایمیل نویسنده | 2905415904@qq.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/esp32-magnet/ |
| مجوز | MIT Licence |
# ESP magnet
ESP32 firmware to trigger the electromagnet.
## Connection
`GPIO_4` <--> `DOUT_PIN`
## Usage
Connect the serial port of ESP32 dev board to a computer, then create a serial connection with following configuration
| Item | Value |
| -------- | ------ |
| Baudrate | 115200 |
| Stop | 1 |
| Parity | None |
| Control | None |
After the establishment of connection, use following command to control the board
| Format | Function |
|---------------|-----------------------------|
| `enable` | start the magnet |
| `is_enabled` | judge if magnet is enabled |
| `disable` | trigger for once |
| `is_disabled` | judge if magnet is disabled |
| `restart` | restart |
| `get_status` | check the status |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl esp32-magnet-1.0.0:
pip install esp32-magnet-1.0.0.whl
نصب پکیج tar.gz esp32-magnet-1.0.0:
pip install esp32-magnet-1.0.0.tar.gz