08 2023 档案
摘要:1 //发送数据PC 2 uint8_t UsbSendData(uint8_t *pbuff,uint16_t buffsize) 3 { 4 uint16_t retry = 0; 5 USBD_HandleTypeDef *pdev = &hUsbDeviceHS; 6 USBD_CDC_Ha
阅读全文
摘要:#makefile 编译错误 — make: No rule to make target 最近使用make编译引用静态库,结果出现标题所示完整错误类似为: make: *** No rule to make target /xxx/xxx/xxxx/xxxxx/xxx.cpp(or .h )',
阅读全文
摘要:Qt中QString的arg()函数使用记录 大致有如下3种用法: (1)arg(str1, str2, str3) 其中一次可替换参数个数最多为9个,举例如下 输出为"1 2 3 4 5 6 7 8 9 %10 %11" 要想全部替换,只需要接在后面继续使用一个.arg(“10”,“11”)即可
阅读全文