用于与SportIdentit主站通信的Python模块

sportident的Python项目详细描述


SportIdentit阅读器

Build Status

在运动标识.py是一个python模块,用于与SportIdent主站通信以读取SportIdent卡。 SportIdent是一种电子打孔系统,主要用于定向运动项目。在

fromtimeimportsleepfromsportidentimportSIReaderReadout# connect to base station, the station is automatically detected,# if this does not work, give the path to the port as an argument# see the pyserial documentation for further information.si=SIReaderReadout()# wait for a card to be inserted into the readerwhilenotsi.poll_sicard():sleep(1)# some properties are now setcard_number=si.sicardcard_type=si.cardtype# read out card datacard_data=si.read_sicard()# beepsi.ack_sicard()

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Windows 8.1上的netbeans 7 Java控制面板   在另一台设备上创建的将安卓设备连接到WiFi热点的java   java领域生命周期处理安卓中的关闭/无效实例   使用firebasemlkit访问cloud vision api时关闭javasocket   jsp中基于64字节数组的Java图像显示   每次方向更改并丢失字段值时,java Android OnCreateView调用两次   如何使用idljmavenplugin生成java文件   并发性如何进行同步以防止java冲突。util。ConcurrentModificationException   Java中非连通无向图的圈检测   java如何在不使用列表或集合方法的情况下删除数组元素   计算三维SAT碰撞法向量时出现java错误   java翻译自定义通知字符串   java如何从HttpURLConnection读取json数据   java如何将整数添加到字符串ArrayList?   java cxf生成的wsdl:将soap地址位置协议更改为https   jakarta ee Java:Java ee应用程序中的静态和线程安全   java在Android中传递变量   组合框的swing Java selectionChange侦听器