- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 STM32采集西门子QFA3171温湿度
因为QFA31711温湿度传感器输出的是4-20mA电流信号,但是STM32只能采集电压信号,所以需要在I1,I2和电源负极直接串电阻使电流信号转为电压信号,方式为I1,I2分别接166Ω的电阻,同时与负极连接。
2024-02-22 11:23:57
472
原创 数据库连接报错init datasource error, url: jdbc:mysql//test
init datasource error, url: jdbc:mysql//test将地址改为jdbc:mysql://localhost:3306/test
2021-04-14 15:51:07
1681
原创 IDEA向MySQL数据库中插入数据后内容显示乱码
使用IDEA向数据库中插入数据后,数据库中的内容显示为乱码,此为JDBC.properties中JDBC编码协议问题,添加url=jdbc:mysql://localhost:3306/test?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8再次向数据库中插入数据后,数据库中显示正常。...
2021-04-14 09:47:59
622
1
原创 error C3861: “xxxx”: 找不到标识符的处理方法
当报错关于error C3861: “xxxx”: 找不到标识符的处理方法原因是主函数调用函数之前没有该函数的声明,所以需要在主函数之前声明该函数,如int days(int year, int month, int day);int main(){ struct dayOfYear p; printf("请输入年,月,日:\n"); scanf("%d %d %d", &p.year, &p.month, &p.day); days(p.year,p.m
2021-03-29 11:57:34
9519
原创 定义一个结构体变量(包括年,月,日)。计算该日在本年中是第几天
定义一个结构体变量(包括年,月,日)。计算该日在本年中是第几天,注意闰年问题#include <stdio.h>struct dayOfYear{ int year, month, day;};int main(){ struct dayOfYear p; printf("请输入年,月,日:\n"); scanf("%d %d %d", &p.year, &p.month, &p.day); int sum = 0; int a[12]
2021-03-29 11:51:01
9089
4
原创 jforum录制脚本时验证码问题
jforum中的验证码为随机验证码,录制脚本时,无法回访,解决办法为:1.不设置验证码将SystemGlobal.properites中的captcha.registration和captcha.posts值修改为falsecaptcha.registration = falsecaptcha.posts = false
2020-06-21 22:07:08
393
原创 JForum论坛安装以及部署
JForum官网下载安装包 将压缩包解压到tomcat安装目录下的webapps中,本人的tomcat安装目录为:D:\Tomcat\apache-tomcat-8.0.51\webapps,也可直接将压缩包放置到webapps目录中,运行时自动解压。 启动tomcat,Tomcat\apache-tomcat-8.0.51\bin\startup.bat 进入安装页面,http://127.0.0.1:8080/jforum-2.6.2/install.jsp。...
2020-05-26 23:52:21
340
原创 Unknown storage engine InnoDB
安装过程中遇到Unknown storage engine 'InnoDB'。1.Navicat查看数据库,show engines,显示不支持innodb。使用dos命令查看,InnoDB为默认数据库。services.msc查看数据库服务,发现有MySQL和MySQLzt都为开启状态,关闭mysqlzt,重试变为正常状态...
2020-05-26 23:48:36
572
原创 OSError: [Errno 13] 权限不够: /usr/local/lib/python2.7/dist-packages/tornado-6.0.4.dist-info
pip 安装tornado的时候出现以下错误:Exception:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/local/lib/python2.7/dist-packages/pip/commands/in...
2020-05-20 23:32:30
1175
ssm超市信息管理系统.zip
2020-08-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人