android usb读取数据,可以编译通过,学习嵌入式开发的好东西
2022-05-17 16:26:52 750KB USB jni 嵌入式
1
易语言卡号密码管理软件源码,卡号密码管理软件,读取数据,写入数据,修改数据,验证,刷新数据,account,password,random,randoms,取数值
1
使用Python向mysql读取数据
2022-04-21 13:03:05 678B mysql python 数据库 database
1
文件夹中包含hidapi.h hidapi.dll hidapi.lib,我是在windows10系统中用VS2013编译的release版本,我用于qt的调用,是可以实现的。 调用过程: int res; res = hid_init(); wchar_t wstr[MAX_STR]; int i; // Open the device using the VID, PID, // and optionally the Serial number. handle = hid_open(0x0483, 0x5750, NULL); if(handle == NULL) { qDebug() << "NULL-----------------------NULL" ; return; } else { qDebug() << " not ------------NULL-----------------------NULL" ; } // Read the Manufacturer String res = hid_get_manufacturer_string(handle, wstr, MAX_STR); wprintf(L"Manufacturer String: %s\n", wstr); // Read the Product String res = hid_get_product_string(handle, wstr, MAX_STR); wprintf(L"Product String: %s\n", wstr); // Read the Serial Number String res = hid_get_serial_number_string(handle, wstr, MAX_STR); wprintf(L"Serial Number String: (%d) %s\n", wstr[0], wstr); // Read Indexed String 1 res = hid_get_indexed_string(handle, 1, wstr, MAX_STR); wprintf(L"Indexed String 1: %s\n", wstr); qDebug("hid read start"); int res = hid_set_nonblocking(handle, 0); while (1) { res = hid_read(handle,buf,sizeof(buf)); QString asd ; for(int i = 0;i < sizeof(buf);i++) { char str[20]; sprintf(str , "%02x",buf[i]); asd+=str ; } if(!cardInfo.contains(asd.toUpper())) { cardInfo.append(asd.toUpper() ); for(int i = 0;i < cardInfo.size() ;i++) { dealWithData( cardInfo[i]); } } }
2022-04-16 14:53:32 10KB qt usb hidapi
1
【达摩老生出品,必属精品,亲测校正,质量保证】 资源名:matlab从imu中读取数据,计算出载体的轨迹,速度,姿态,并画出速度与欧拉角 资源类型:matlab项目全套源码 源码说明: 全部项目源码都是经过测试校正后百分百成功运行的,如果您下载后不能运行可联系我进行指导或者更换。 适合人群:新手及有一定经验的开发人员
2022-04-09 19:44:55 258KB matlab 开发语言 imu 欧拉角
1.将从文件中读取的训练例输出到屏幕上。 2.实现寻找极大特殊假设算法。 3.实现寻找极大一般假设算法。
2022-04-06 22:34:08 982KB 从文件中读取数据
1
tensorflow推荐的TFRecord的保存和读取数据集,支持多线程读取和打乱顺序,使用队列读取,避免了大型数据集对内存的严重占用
2022-04-04 08:13:26 8KB tensor TFReco 读取数据 多线程
1
背景: 文件内容每一行是由N个单一数字组成的,每个数字之间由制表符区分,比如: 0 4 3 1 2 2 1 0 3 1 2 0 …… 现在需要将每一行数据存为一个list,然后所有行组成一个大的list 工具: 1.strip():用于移除字符串头尾指定的字符,默认为空格,返回是字符串 2.split():通过指定分隔符对字符串进行切片,返回是字符串组成的list 实例: #!/usr/bin/python #coding=utf-8 def readfile(filename): with open(filename,'r') as f: for line in f.
2022-03-28 14:09:52 34KB IS li list
1
函数 [d,t,dline,tline]=RPTRead(fname) % 功能: % % 从包含文本和数据的 *.rpt 文件中读取数据% % 信息。内容示例如下: % % **************************************************** ********************** % % * 节点位置报告 * % % **************************************************** ********************** % % 节点位置% % Node ID Coord 1 Value Coord 2 Value Coord 3 Value Reference CID % 0.000000 0.000000 0.000000(全局)矩形% % 4 -0.621540 24.922939
2022-03-27 14:29:22 2KB matlab
1