上一页 1 2 3 4 5 6 7 8 ··· 42 下一页
摘要: c和c++中使用assert()函数来实现断言。 eg: #include <stdio.h> #include <assert.h> int main() { int x = 7; x = 9; assert(x==7); /* Rest of the code */ return 0; } 执行 阅读全文
posted @ 2021-09-21 14:34 hbg-rohens 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 编译时 加上 pkg-config --cflags --libs opencv 选项 阅读全文
posted @ 2021-09-13 17:26 hbg-rohens 阅读(2284) 评论(0) 推荐(0) 编辑
摘要: char ToUpper(char c){ return (ch >= 'a' && ch <= 'z') ? (ch - 'a' + 'A') : ch;}char ToLower(char c){ return (ch >= 'A' && ch <= 'Z') ? (ch - 'A' + 'a' 阅读全文
posted @ 2021-09-11 14:26 hbg-rohens 阅读(31) 评论(0) 推荐(0) 编辑
摘要: A stack overflow in task spam_task has been detected. 错误改正方法: 将数组移到函数外部,作为全局变量。 阅读全文
posted @ 2021-09-02 14:19 hbg-rohens 阅读(1181) 评论(0) 推荐(0) 编辑
摘要: 摘自: https://zhuanlan.zhihu.com/p/104612162 优先级任务的分配方案: 1)IRQ任务 IRQ任务指通过中断服务程序进行触发的任务,此类任务应该设置为所有任务里面优先级最高的。 2)高优先级后台任务 比如按键检测、触摸检测、USB消息处理、串口消息处理等 3)低 阅读全文
posted @ 2021-08-25 14:16 hbg-rohens 阅读(1091) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_43804080/article/details/105676067 帧类型/子类型 过滤器语法Management frame wlan.fc.type == 0Control frame wlan.fc.type == 1Data frame w 阅读全文
posted @ 2021-08-18 11:05 hbg-rohens 阅读(721) 评论(0) 推荐(0) 编辑
摘要: 如果使用Https 访问http启动的项目,会出现此错误, 改用http 阅读全文
posted @ 2021-08-12 16:23 hbg-rohens 阅读(2001) 评论(0) 推荐(0) 编辑
摘要: 编译gpiod文件时,遇到如下困难: checking for linux/gpio.h... noconfigure: error: linux/gpio.h header not found (needed to build the library) 有没有曾经遇到,解决过得, gpiod下载有 阅读全文
posted @ 2021-07-15 09:55 hbg-rohens 阅读(728) 评论(0) 推荐(0) 编辑
摘要: 摘自知互 小林coding <<TCP的keepalive和HTTP的keepalive之间的关系>> TCP 的 Keepalive,是由 TCP 层(内核态) 实现的,称为 TCP 保活机制. 阅读全文
posted @ 2021-07-08 10:55 hbg-rohens 阅读(240) 评论(0) 推荐(0) 编辑
摘要: const char COLOR_RESET[] = "\033[0m"; const char COLOR_BLACK[] = "\033[30m"; /* Black */ const char COLOR_RED[] = "\033[31m"; /* Red */ const char COL 阅读全文
posted @ 2021-07-05 10:01 hbg-rohens 阅读(265) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 42 下一页