python
ZHANGXIXI903
这个作者很懒,什么都没留下…
展开
-
爬虫
主体import requestsimport timeimport reimport osimport platformimport jsonimport paho.mqtt.client as mqttimport pricedebug = 0class LocalDataClass: class PL: class BC: class HB: BTC = 1.67044451原创 2021-04-23 00:19:07 · 139 阅读 · 0 评论 -
python uart
python uartimport timeimport threadingimport serialimport serial.tools.list_portsclass Port: com = '' bps = 115200 timeout = 5 power = 0def uart_find(): port_list = list(serial.tools.list_ports.comports()) if len(port_li原创 2021-04-23 00:12:50 · 397 阅读 · 1 评论