11 2022 档案

摘要:import pymouse import time print('点击回车查看当前鼠标的坐标') while True: #_ = input() # input起到阻塞程序的作用 time.sleep(0.3) print(pymouse.PyMouse().position()) # 获取当前 阅读全文
posted @ 2022-11-25 15:00 李里力离 阅读(1189) 评论(0) 推荐(0)
摘要:在板子运行时,手机可随时接入,不会影响板子 参考网站:micropython中给socket设置回调 - M - Jay 的个人博客 (60条消息) micropython中socket函数回调(非阻塞)(non-blocking)_Youkii-Chen的博客-CSDN博客 这两个参考的内容是,防 阅读全文
posted @ 2022-11-12 17:48 李里力离 阅读(495) 评论(0) 推荐(0)
摘要:from machine import TouchPad, Pin #引入touchpad模块 from time import sleep import utime touch_up = TouchPad(Pin(12)) #12是上 touch_down = TouchPad(Pin(13)) 阅读全文
posted @ 2022-11-08 16:50 李里力离 阅读(318) 评论(0) 推荐(0)