摘要: SDIO WIFI CMD0~CMD55 各自功能介绍 SDIO(Secure Digital Input/Output)协议定义了一系列命令(CMD0~CMD55)用于与设备通信,包括 SD 卡和 SDIO 功能卡(如 WiFi 模块)。以下是 CMD0~CMD55 的核心功能介绍,分为基础命令、 阅读全文
posted @ 2025-06-24 14:44 tianxincode 阅读(353) 评论(0) 推荐(0)
摘要: 到的错误 System.InvalidOperationException: "集合已修改;可能无法执行枚举操作" 是因为在 ScottPlot 中,图表数据被更新时,如果同时尝试进行对图表的缩放或滚动操作,可能会导致数据结构发生变化,从而触发此异常。 问题分析: 原因:你正在动态更新图表的数据(例 阅读全文
posted @ 2025-05-08 09:58 tianxincode 阅读(415) 评论(0) 推荐(0)
摘要: VS 2022 不支持 .NET Framework 4.5 项目解决办法(Visual Studio 2022) 概述 最近 C# 开发工具 Visual Studio 升级到了 2022,打开速度快了很多,开发体验也舒服很多。只是使用过程中遇到了一个比较尴尬的问题:默认Visual Studio 阅读全文
posted @ 2024-11-08 11:24 tianxincode 阅读(2416) 评论(0) 推荐(0)
摘要: 转载至https://www.cnblogs.com/LUO77/p/5816326.html 多进程: 首先,先来讲一下fork之后,发生了什么事情。 由fork创建的新进程被称为子进程(child process)。该函数被调用一次,但返回两次。两次返回的区别是子进程的返回值是0,而父进程的返回 阅读全文
posted @ 2024-10-16 16:15 tianxincode 阅读(235) 评论(0) 推荐(0)
摘要: cmd_client.c 1 #include <stdio.h> 2 #include <sys/socket.h> 3 #include <netinet/in.h> 4 #include <arpa/inet.h> 5 #include <string.h> 6 #include <unist 阅读全文
posted @ 2024-09-18 17:11 tianxincode 阅读(48) 评论(0) 推荐(0)
摘要: cmd_server.c /*编译: gcc cmd_server.c -lpthread */ #include <stdio.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <s 阅读全文
posted @ 2024-09-18 17:07 tianxincode 阅读(49) 评论(0) 推荐(0)
摘要: ensure_all_started(Application) -> {ok, Started} | {error, Reason} ensure_all_started(Application, Type) -> {ok, Started} | {error, Reason} Types Appl 阅读全文
posted @ 2018-02-25 10:47 tianxincode 阅读(290) 评论(0) 推荐(0)
摘要: 为实现数据库的简化操作,我们自己实现一些读,写接口 我们实现了配置文件的解析,可直接使用get函数获取配置项 (如:setting:get(database)) 1.在emysql.erl中添加接口 add_pool 2.数据库操作接口实现 login_mysql.erl,我们将其归并为工具类 3. 阅读全文
posted @ 2017-07-17 15:05 tianxincode 阅读(199) 评论(0) 推荐(0)
摘要: 1.创建登录工程Login文件夹,并在Login文件夹中穿件scr与ebin文件夹 将rebar工具考入Login文件夹中,必须包含rebar,rebar.cmd 新建文件rebar.config,并写入 {deps, [ {'emysql', ".*", {git, "https://github 阅读全文
posted @ 2017-07-13 16:35 tianxincode 阅读(334) 评论(0) 推荐(0)
摘要: 1.sasl是一个应用,sasl的一个重要功能便是可以记录系统进程相关日志,如进程启动、结束、崩溃错误等信息。sasl的日志功能是基于erlang自带的日志模块error_logger来实现的。我简单的介绍下SASL的使用。 sasl中定义了下面3个错误处理: sasl_report_tty_h:将 阅读全文
posted @ 2017-07-11 13:25 tianxincode 阅读(317) 评论(0) 推荐(0)