1 Star 1 Fork 1

Walkline/ESP32 BLE - Beacon Locating

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.py 404 Bytes
一键复制 编辑 原始数据 按行查看 历史
Walkline 提交于 2021-08-09 12:44 . 增加 config.py 模块
"""
The MIT License (MIT)
Copyright © 2021 Walkline Wang (https://walkline.wang)
Gitee: https://gitee.com/walkline/esp32-ble-beacon_locating
"""
from utils import Utilities
class Config(object):
# for esp32
BUTTON = 0
LED = 2
BUZZER = 5
# for esp32c3
if Utilities.is_esp32c3():
BUTTON = 9
LED = 19
BUZZER = 1
# uuid for beacon and scanner
UUID = '2fe95496-f5af-11eb-9a03-0242ac130003'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/walkline/esp32-ble-beacon_locating.git
[email protected]:walkline/esp32-ble-beacon_locating.git
walkline
esp32-ble-beacon_locating
ESP32 BLE - Beacon Locating
master

搜索帮助