- 博客(2)
- 收藏
- 关注
原创 【蓝牙串口 】【Ubuntu】Python脚本蓝牙串口连接并解决权限问题
首先pip安装pyserial模块 pip install pyserial 复制如下脚本 # coding:utf-8 import serial.tools.list_ports plist = list(serial.tools.list_ports.comports()) if len(plist) <= 0: print("没有发现端口!") else: p...
2018-12-16 22:51:07 2073
原创 【joysticker】【Linux】Python脚本实现USB游戏手柄的驱动
# Released by rdb under the Unlicense (unlicense.org) # Based on information from: # https://www.kernel.org/doc/Documentation/input/joystick-api.txt import os, struct, array from fcntl import ioctl ...
2018-12-16 20:13:14 5338 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人