摘要: 一个最简单的demo,读取加速度传感器和磁场传感器,直接打印。适合业余玩玩。 用的技术点都是最简单粗暴的,不要用来开发产品。 在安卓2.3.3和5.1的真机上都测试通过。 安卓源码:使用的android studio开发,SDK是API10,姜饼。 为了在一个10年前的手机上玩,三星5830,竟然还 阅读全文
posted @ 2022-09-27 23:34 园友1683564 阅读(149) 评论(0) 推荐(0)
摘要: 一个最简单的demo,手机和电脑连上同一个路由器,向电脑的某个socket端口发送消息。适合业余玩玩。 用的技术点都是最简单粗暴的,不要用来开发产品。 在安卓2.3.3和5.1的真机上都测试通过。 使用方法: sscom5.13.1.exe在电脑上开server不行,估计是被win10防火墙给挡了, 阅读全文
posted @ 2022-09-27 23:27 园友1683564 阅读(175) 评论(0) 推荐(0)
摘要: #include <stdint.h> #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { printf("%s running\n", argv[0]); if(argc != 3) { printf( 阅读全文
posted @ 2022-05-10 21:33 园友1683564 阅读(32) 评论(0) 推荐(0)
摘要: #include <fstream> #include <iostream> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; int main(int argc, char **argv) { const 阅读全文
posted @ 2022-04-22 23:43 园友1683564 阅读(213) 评论(0) 推荐(0)
摘要: #include <fstream> #include <iostream> #include <opencv2/imgcodecs.hpp> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; int mai 阅读全文
posted @ 2022-04-22 23:25 园友1683564 阅读(590) 评论(0) 推荐(0)
摘要: https://docs.opencv.org/4.5.5/db/df5/tutorial_linux_gcc_cmake.html 写的已经不错,我补充点,让教程更便捷。 opencv源码编译 cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_P 阅读全文
posted @ 2022-02-11 15:28 园友1683564 阅读(64) 评论(0) 推荐(0)
摘要: static int m_log_open(struct inode *inode, struct file *filp) { struct m_log_device *m_log_dev; m_log_dev = container_of(filp->private_data, struct m_ 阅读全文
posted @ 2021-12-21 15:17 园友1683564 阅读(178) 评论(0) 推荐(0)
摘要: 你可能看过这篇文章: https://blog.csdn.net/qq_40500036/article/details/106405779 这个方法我这里无用。我用了一个更简便的方法: vscode: 版本: 1.51.0提交: fcac248b077b55bae4ba5bab613fd6e915 阅读全文
posted @ 2021-11-30 17:32 园友1683564 阅读(515) 评论(0) 推荐(0)
摘要: 1. dtb添加linux,initrd-start 和 linux,initrd-end: chosen { bootargs = "console=ttyAMA0,115200 loglevel=7 panic=3 isolcpus=1"; linux,initrd-start = <0x100 阅读全文
posted @ 2021-09-24 15:08 园友1683564 阅读(1237) 评论(0) 推荐(0)
摘要: STM32CubeMX AI:这篇文章足够详细了,我只参考了cubemx的使用方法。https://blog.csdn.net/bigmaxPP/article/details/104500092 算法,直接用的TensorFlow官方入门教程:手写字 就可以 官网打不开,国内的相关blog多如牛毛 阅读全文
posted @ 2021-09-11 12:27 园友1683564 阅读(460) 评论(0) 推荐(0)