06 2020 档案
摘要:Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in 解决办法 主要原因是书写不规范导致的错误 如:将$_GET[id] 改为 $_G
阅读全文
摘要:一、利用phpMyAdmin操作数据库来导入导出 二、选择要导出的数据库,如test库,选择菜单栏导出,导出格式选择SQL后点击执行 三、执行后的导出数据库会以test.sql形式下载到本地。 四、选择任意数据库,如db_stuscore数据库,选择菜单栏导入,选择要导入的.sql文件,导入格式选择
阅读全文
摘要:1.在SublimeText-Nodejs官网上下载Download ZIP压缩包 2.将SublimeText-Nodejs-master.zip解压到选定文件夹下,并且重命名为——Nodejs 3.点击sublime软件的Preferences->Browse Packages,将Nodejs文
阅读全文
摘要:推荐查看链接:https://www.cnblogs.com/appuploader/p/9810114.html
阅读全文
摘要:一、程序源码: #include "reg52.h" //此文件中定义了单片机的一些特殊功能寄存器 #define uint unsigned int //定义常用数据类型替代码 #define uchar unsigned char #define dat P0 //定义LCD1602的数据口为P
阅读全文
摘要:一、源程序 #include "reg52.h" //此文件中定义了单片机的一些特殊功能寄存器 #define uint unsigned int //定义常用数据类型替代码 #define uchar unsigned char #define dat P0 //定义LCD1602的数据口为P0
阅读全文
摘要:一、主函数如下: #include <reg52.h> //此文件中定义了单片机的一些特殊功能寄存器 #include"fpc8591.h" #include"i2c.h" #include "74hc595.h" /*****************************************
阅读全文
摘要:一、创建头文件74hc595.h代码如下: #ifndef __74HC595_H_ #define __74HC595_H_ #include <reg52.h> #define uchar unsigned char #define uint unsigned int sbit DIO = P1
阅读全文
摘要:一、创建头文件i2c.h代码如下: #ifndef __I2C_H_ #define __I2C_H_ #include <reg52.h> sbit SCL=P2^1; sbit SDA=P2^0; void I2cStart(); // I2c启动 void I2cStop(); // I2c停
阅读全文
摘要:一、创建头文件pcf8591.h代码如下: #ifndef __FPC8591_H_ #define __FPC8591_H_ #include <reg52.h> void init_pcf8591(void); //pcf8591初始化 unsigned char adc_pcf8591(voi
阅读全文
摘要:一、创建头文件lcd1602.h代码如下: #ifndef __LCD1602_H_ #define __LCD1602_H_ #include <reg52.h> #include <stdio.h> #define uint unsigned int //定义常用数据类型替代码 #define
阅读全文
摘要:一、主函数如下: #include <reg52.h> //此文件中定义了单片机的一些特殊功能寄存器 #include "lcd1602.h" #include"fpc8591.h" #include"i2c.h" /*****************************************
阅读全文