自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(22)
  • 资源 (1)
  • 收藏
  • 关注

原创 CJson与文件IO读写配置文件

CJson与文件IO读写配置文件

2023-07-02 14:37:57 189

原创 INA3221 电压电流监测

INA3221 监测

2022-11-05 21:47:55 1796 5

原创 GD32 GPIO模拟IIC

GD32 GPIO模拟IIC

2022-11-05 20:40:10 2338 1

原创 VMWare安装虚拟机报错,VMware 启动虚拟机报错,您的主机不满足在启用 Hyper-V 或Device/Credential Guard 的情况下运行 VMware Workstatio

VMWare安装虚拟机报错,VMware 启动虚拟机报错,您的主机不满足在启用 Hyper-V 或Device/Credential Guard 的情况下运行 VMware Workstatio

2022-09-12 16:05:44 2020

原创 函数指针作为参数传递给另外一个函数

函数指针、函数指针作为参数传递

2022-07-24 11:17:12 1075

原创 arduino 连接阿里云遇到mqtt connect err:2

arduino 阿里云 物联网

2022-07-10 17:35:01 3421

原创 C语言基于数组实现删除指定字符串

#include <stdio.h>#include <string.h>#include <stdlib.h>#include <strings.h>void delete_char(char str[],char delete_ch);int main(){ char buf[128]={0}; printf("输入一个字符串:\n"); fgets(buf,sizeof(buf),stdin); print...

2021-10-07 09:56:28 689

原创 C语言 select减函数io多路复用实现并发服务器,回传客户端发送的消息

* 描 述:select多路复用实现并发,回传客户端数据#include <stdio.h>#include <string.h>#include <stdlib.h>#include <strings.h>#include <sys/types.h>#include <sys/socket.h>#include <arpa/inet.h>#include <netinet/in.h&g...

2021-09-12 21:11:35 188

原创 C语言 多进程并发服务器

描 述:多进程并发TCP服务器,回传客户端发来的数据#include <stdio.h>#include <string.h>#include <stdlib.h>#include <strings.h>#include <sys/types.h>#include <sys/socket.h>#include <arpa/inet.h>#include <netinet/in.h>#in...

2021-09-12 21:07:42 333

原创 C语言 UDP服务器通过多路IO复用同时处理标准输入和套接字。当输入为quit时程序结束;当通过套接字收到对方消息时回射给对方

select();函数:select函数原型:int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeval);void FD_CLR(int fd, fd_set *set);int FD_ISSET(int fd, fd_set *set);void FD_SET(int fd, fd_set *set);void FD_ZERO(fd_set *

2021-09-12 20:50:56 697

原创 C语言多线程实现并发服务器

功能:将客户端发发送到服务器的数据转发回去给客户端服务端:#include <stdio.h>#include <string.h>#include <stdlib.h>#include <strings.h>#include <sys/types.h>#include <sys/socket.h>#include <arpa/inet.h>#include <netinet/in.h>.

2021-09-06 23:56:51 829

原创 C语言实现对一个文本内容的加密与解密

加密#include <stdio.h>#include <string.h>#include <stdlib.h>#include <strings.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>int main(int argc,char *argv[]){ i...

2021-08-26 21:50:25 576

原创 C语言利用函数实现一张的加密与解密

#include <stdio.h>#include <string.h>#include <stdlib.h>#include <strings.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>int main(int argc, char *argv[]){ int f...

2021-08-26 21:47:48 292

原创 C语言使用read、write函数实现文件内容的复制

#include <stdio.h>#include <string.h>#include <stdlib.h>#include <strings.h>#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>int main(int argc,char *argv[]){ char b...

2021-08-26 21:44:29 1012

原创 C语言,指针数组实现将输入的字符串拆分后输出

2021-08-19 22:42:59 619

原创 C语言,将输入的字符串逆序输出(指针实现)

#include <stdio.h>#include <string.h>#include <stdlib.h>#include <strings.h>void swap(char *head,char *tail);int main(){ char str[64]={0},*p=NULL,*p2=NULL,*p3=NULL; int len,i; printf("输入一个字符串:"); gets(str); ...

2021-08-19 22:39:26 3480

原创 C语言在二维数组中查找最大值,通过函数实现

#include <stdio.h>#include <string.h>#include <stdlib.h>#include <strings.h>#include <time.h>int find_max();int main(){ srand(time(NULL)); int a[5][5]; int i,j; for(i=0;i<5;i++) ...

2021-08-05 22:47:49 3160

原创 C 语言 将一个二维数组里面的数按矩形的方式打印出来

2021-08-02 20:26:53 768

原创 C 语言 求一个三行五列的二维数组的最大值,以及下标

2021-08-02 20:24:21 3118

原创 C语言 输入6个数到a[2][3],如何实现转置

2021-08-02 20:22:15 426

原创 锐捷校园网络

基于锐捷校园网络设备连接受限问题的解决方案。锐捷规避锐捷校园网的连接设备受限问题。路由中继加网页认证解决

2021-07-03 11:46:51 628 9

原创 VHDL闹钟

基于DE2-115 VHDL编写的闹钟,具有时间显示,闹钟定时显示以及闹钟功能。译码器显示部分LIBRARY IEEE;USE IEEE.STD_LOGIC_1164.ALL;USE IEEE.STD_LOGIC_UNSIGNED.ALL;ENTITY INBCD7 ISPORT( A:IN INTEGER; DOUT1:OUT STD_LOGIC_VECTOR(6 DOWNTO 0):="1000000"; DOUT2:OUT STD_LOGIC_V...

2021-07-03 11:41:31 435

cjson对文件的增删改查

该demo针对自己需要使用cjon来存储配置文件,学习cjon的记录

2023-07-02

试用QT新手小白的中文帮助文档

试用QT新手小白的中文帮助文档

2023-03-15

STM32 SPI驱动 CH9434串口拓展芯片

CH9434是一款SPI转四串口控制芯片,提供四组全双工的9线异步串口,用于单片机/嵌入式系统扩展异步串口。CH9434包含四个兼容16C550的异步串口,最高支持4Mbps波特率通讯。支持GPIO,支持半双工收发自动切换引脚TNOW。 特点: 工作电压:3.3V。 支持通讯波特率设置,波特率范围1200-4000000bps。 串口每个方向独立FIFO缓存1.5K。 独立四个异步串口,兼容16C550并且有所增强。 串口支持5/6/7/8个数据位以及1/2个停止位。 串口支持奇、偶、无校验、空白0、标志1等校验方式。 支持常用的MODEM联络信号RTS、DTR、DCD、RI、DSR、CTS。 提供半双工RS485收发使能引脚。 SPI最高速率为16MHz。 支持多种睡眠方式以及电源控制,可通过SPI接口唤醒。 芯片内置时钟,可选外部晶振提供时钟。 芯片提供可配置GPIO功能。 提供QFN48_5X5无铅封装,兼容RoHS。 应用领域: MCU/DSP/嵌入式系统。 工业自动化RS-485通讯。 串口服务器、多串口卡。 与蓝牙、4G、WiFi等串口模块通讯实现无线传输。

2022-09-13

VMWare安装虚拟机报错,VMware 启动虚拟机报错,您的主机不满足在启用 Hyper-V 或Device/Credenti

VMWare安装虚拟机报错,VMware 启动虚拟机报错,您的主机不满足在启用 Hyper-V 或Device/Credential Guard 的情况下运行 VMware Workstatio

2022-09-12

基于A4950T的电机驱动板设计

基于A4950T的电机驱动板设计

2022-05-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除