上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 54 下一页
摘要: 11 阅读全文
posted @ 2022-11-20 21:46 cnchengv 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 3、 Linux下编译程序/usr/bin/ld: cannot find -l*错误的解决方法 https://blog.csdn.net/weixin_46386047/article/details/126098559 2、 Linux系统下查找安装包的方法 http://t.zoukanka 阅读全文
posted @ 2022-11-18 11:19 cnchengv 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 1、无参数和带参数 def spamrun(fn): def sayspam(*args): print("spam,spam,spam") fn(*args) return sayspam @spamrun def useful(a,b): print(a*b) def attrs(**kwds) 阅读全文
posted @ 2022-11-17 11:08 cnchengv 阅读(27) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/433633168 重 https://blog.csdn.net/weixin_48006170/article/details/119852502 阅读全文
posted @ 2022-11-11 15:17 cnchengv 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1、 /** GPIO - Register Layout Typedef */ typedef struct { __IO uint32_t DR; /**< GPIO data register, offset: 0x0 */ __IO uint32_t GDIR; /**< GPIO dire 阅读全文
posted @ 2022-11-04 16:29 cnchengv 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1、qu /* * @description : 从ap3216c读取多个寄存器数据 * @param - dev: ap3216c设备 * @param - reg: 要读取的寄存器首地址 * @param - val: 读取到的数据 * @param - len: 要读取的数据长度 * @ret 阅读全文
posted @ 2022-11-04 15:32 cnchengv 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 1、spi 驱动核心这两个: icm20608_read_regs /* 一共发送len+1个字节的数据,第一个字节为 寄存器首地址,一共要读取len个字节长度的数据,*/ txdata[0] = reg | 0x80; /* 写数据的时候首寄存器地址bit8要置1 */ t->tx_buf = t 阅读全文
posted @ 2022-11-04 15:06 cnchengv 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 主要三个部分 1、设置复用寄存器 2、往配置寄存器赋值 3、gpio具体 void led_init(void) { /* 1、初始化IO复用 */ IOMUXC_SetPinMux(IOMUXC_GPIO1_IO03_GPIO1_IO03,0); /* 复用为GPIO1_IO03 */ /* 2、 阅读全文
posted @ 2022-11-02 09:23 cnchengv 阅读(16) 评论(0) 推荐(0) 编辑
摘要: window tasklist|findstr "Camera*" CameraEmtQ.exe 24440 Console 2 20 K C:\Users\10145657>tasklist|findstr "4204" ShellExperienceHost.exe 14204 Console 阅读全文
posted @ 2022-10-11 16:22 cnchengv 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 下载vlc-3.0.17-win32 1、vc头文件和库目录加上, 引入库(附件依赖项) libvlc.lib libvlccore.lib 2、 #ifdef _WIN32 #include <basetsd.h> typedef SSIZE_T ssize_t; #endif //qt要加 #i 阅读全文
posted @ 2022-10-10 14:13 cnchengv 阅读(223) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 54 下一页