自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(65)
  • 收藏
  • 关注

原创 电脑小技巧:键盘失效

2024-01-31 10:01:41 90

原创 VISIOPRO笔记

解决方案,第一步如网上所说,修改软件兼容性,效果不明显,第二步,由于原来用的是笔记本,将笔记本分辨率修改为1920*1200问题解决。

2024-01-30 15:29:21 119

原创 下拉菜单 水平菜单

a。

2023-05-27 16:54:30 159 1

原创 jquery 模仿PPT依次显示

在这里插入图片描述](https://img-blog.csdnimg.cn/f5764305d8e349a8a9e98fca03a7f913.png)

2023-05-27 16:37:33 108

原创 好玩的STREAMLIT

输入代码显示图片。

2023-05-20 19:31:28 80

原创 streamlit魔法使用

正常在学习一个新框架之前, 肯定要先调研下这个框架究竟能做些什么事吧?但对于 streamlit 来说,请你相信我,这是一个你可以无脑去学习的框架,我之所以这么说,是因为我相信终有一天,你一定能用得上它。如果你真的需要一些理由的话,那我随便给你举几个例子:做数据分析的同学,想要把数据分析的成果做成应用展示给其他人,怎么办?想做一些用户数据的收集,但某些公有平台又却仅有收集,没有对应的开发能力提供数据的处理与反馈,怎么办?

2023-05-19 11:29:09 884

原创 streamlit

正常在学习一个新框架之前, 肯定要先调研下这个框架究竟能做些什么事吧?但对于 streamlit 来说,请你相信我,这是一个你可以无脑去学习的框架,我之所以这么说,是因为我相信终有一天,你一定能用得上它。如果你真的需要一些理由的话,那我随便给你举几个例子:做数据分析的同学,想要把数据分析的成果做成应用展示给其他人,怎么办?想做一些用户数据的收集,但某些公有平台又却仅有收集,没有对应的开发能力提供数据的处理与反馈,怎么办?

2023-05-19 11:21:12 826

原创 视频平台。。。。 。

在这里插入图片描述](https://img-blog.csdnimg.cn/e2422da8388c4c3eb70a9d17b6cab5ab.png)[在这里插入图片描述](https://img-blog.csdnimg.cn/63d555032bbf4f6db3e665779b6b299d.png)1.py 读取图片视频流。

2023-05-19 09:13:00 564

原创 很好用的 视频流媒体格式

img_stream为with open(img_path,‘rb’) as f:。base64.b64encode同样适合于视频流,py中采用该函数。在HTML中采用调用。

2023-05-19 09:04:00 63

原创 单片机常用波特率对应值

2022-04-13 21:26:42 939

原创 keil和proteus联调

关于Keil4与Proteus8联调,配置如下:1.Proteus中,菜单栏Debug-》Enable Remote Debug Monitor,即允许远程调式;2.Keil中,打开Target Otions ,即选择模拟器;3.打开DEBUG页签,如图:4.在Use下拉框中选择Proteus VSM Simulator模拟器,新安装的如果没有的话,需要给keil安装Proteus的调试插件:vdmagdi.exe,安装时选择Keil的安装路径,会自动修改配置文件:...

2022-04-09 10:59:18 4400

原创 昆仑通态和S7 1200在线模拟仿真通讯

1.首先用到1个工具Nettoplcsim 最好右键管理员运行2.如果port102被占用请去services.msc关闭S7DOSHELP服务。3.点击add4.点击第二行右侧…5.打开博图,打开仿真软件,修改IP和net work ip同一地址

2022-04-06 12:01:35 3665

原创 jquary获得txt内容的三种方法

菜鸟教程 <div id="myDiv"><h2>Let Ajax Change this Content!</h2></div><button id="b01" type="button">click me</button>

2021-05-13 15:49:39 249

原创 一次ESP8266奇葩错误

ets Jan 8 2013,rst cause:4, boot mode:(3,6)wdt resetload 0x4010f000, len 3584, room 16tail 0chksum 0xb0csum 0xb0v2843a5ac~ld找了半天没找到,后来在一个老外帖子中找到灵感。原帖如下。我想是不是自己地址也错误了。原程序随意给了给IO一个地址11,结果出错了。是不是没用这个寄存器,后改成2后,错误消失。说明地址用人家给的,不能乱用。...

2021-05-11 15:21:25 2467

原创 MQTT

1、首先安装ESP8266库以下是windows安装方法,mac os见:https://www.arduino.cn/thread-76222-1-1.html或腾讯微云2、安装PubSubClient.hPubSubClient可以在Arduino IDE的库管理器中找到:3、程序#include <ESP8266WiFi.h>#include <PubSubClient.h>const char* ssid=“WiFi账号”;const char* pass

2021-05-11 12:01:39 230

原创 Pycharm 2020.3

安装包在百度网盘中。

2021-05-10 18:45:12 296

原创 jquary使用

在head中加入既可以调用jquary 菜鸟教程

2021-05-09 09:01:17 75

原创 HTTP终端(自己做的云平台)

本程序适用于局域网,采用最简单的HTTP协议。每个地址都不一样,使用前用netstat -an看本地地址,填入host中。ssid WIFI 密码password wifi密码http地址:String postRequest = (String)(“GET “)+“userupdate?device_id=3&wendu=35&shidu=50”+” HTTP/1.1\r\n”+“Content-Type: text/html;charset=utf-8\r\n”+"Hos

2021-05-08 15:17:02 323

原创 WIN10不能安装S7-200的解决方法

安装完安装程序后,点击安装未找到指定的访问点补丁.bat“%CommonProgramFiles%\Siemens\Automation\Simatic OAM\bin\s7epaImp64x.exe” -up

2021-05-07 19:12:20 4096

原创 ESP读取温度

#include <ESP8266WiFi.h>const char* ssid="@PHICOMM_80";const char* password = “67750870”;const char* host=“api.thinkpage.cn”;const int port=443;const char* url=“http://se.360.cn/cc/fwl_11.dat”;char buffer[1024];#define BASE_URL “GET %s HTTP/1.

2021-05-04 18:49:24 139

原创 Arduino ESP8266WiFi.h

3.Arduino 使用ESP8266使用ESP8266WiFi.h库在第2步的基础上,使用工具—开发板—Generic ESP8266 Module#include <ESP8266WiFi.h>

2021-05-02 06:44:18 2131

原创 Arduino 使用

1.Arduino MRFC522如果上面的代码无法运行,请自行添加库文件左上角菜单 : 项目-加载库-管理库 ,输入RC522 然后安装他,(我已经安装好了,你要做的是安装)2.Arduino IDE 下载 ESP82661.先安装好ArduinoIDE(如果已安装,直接跳到第二步)下载Arduino IDE2.下载我们打包的esp8266安装包,直接运行并解压即可。下载地址:https://share.weiyun.com/5CGEKJO3.Arduino 使用ESP8266使用

2021-04-30 08:25:59 296

原创 WIN10 无法使用S7-200 提示未找到指定的访问点补丁

安装补丁“%CommonProgramFiles%\Siemens\Automation\Simatic OAM\bin\s7epaImp64x.exe” -up.bat正常安装时应该弹出两个黑框。

2021-04-28 19:39:07 13129

原创 Arduino IDE下载 ESP8266

如果你在国外可以使用 IDE进行安装如果你在国内,估计只能使用以下方式安装以下是windows安装方法,mac os见:https://www.arduino.cn/thread-76222-1-1.html或腾讯微云1.先安装好ArduinoIDE(如果已安装,直接跳到第二步)下载Arduino IDE2.下载我们打包的esp8266安装包,直接运行并解压即可。下载地址:https://share.weiyun.com/5CGEKJO如果安装过其他版本的esp8266sdk,请先删除,再

2021-04-28 15:45:33 1025

原创 数据库练习(一)

This is a sample Python script.from flask import Flaskfrom flask_sqlalchemy import SQLAlchemyPress Shift+F10 to execute it or replace it with your code.Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.cla

2021-03-29 19:13:31 146

原创 FLask日志

1、外机访问app.run(host=‘0.0.0.0’, port=5001,debug=True)

2021-03-20 12:51:33 122

原创 Aforge开启四个摄像头

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using AForge.Video.DirectShow;using AForg

2021-03-20 09:12:57 433

原创 Aforge练习

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using AForge.Video.DirectShow;namespace 调

2021-03-20 07:57:24 89

原创 调用摄像头的三种方法

opencvAforge

2021-03-20 07:19:05 2228

原创 动态显示时间

Title <style> body{ background-color: #66677c; }</style><script src="../static/js/gauge.min.js"></script> <div class="container" style="position:absolute;left: 200px;top:200px"> &...

2021-03-18 21:33:13 110

原创 HTML显示表盘

//显示界面 //gauge.min.js在https://www.html5tricks.com/html5-canvas-dashboard.html里或百度网盘下载(html5-canvas-dashboard)

2021-03-18 15:25:51 268

原创 自动调整灯光

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using OpenCvSharp;using OpenCvSharp.Exten

2021-03-07 09:00:31 176

原创 多线程爬虫

from threading import Threadimport timeimport randomimport requestsfrom queue import Queueimport threadingclass Crawl(Thread):def init(self,url_que,content_que):Thread.init(self)self.url_que = url_queself.content_que = content_quedef run(self):

2021-03-04 09:41:45 94 1

原创 信号量或线程池前段

from threading import Thread,Semaphoreimport timeimport randomsm = Semaphore(5)def task(name):sm.acquire()print(’%s 正在使用’%name)time.sleep(random.randint(1,5))print(’%s 使用完毕’%name)sm.release()if name == ‘main’:for i in range(20):t = Thread(targ

2021-03-04 08:25:51 87 1

原创 2021-03-04

import pygamedef playmusic(filename,loops =0, start=0.0,value=0.5):‘’’:param filename: 文件名:param loops: 循环次数:param start: 从多少秒开始:param value: 设置播放音量,播放音量从0.0到1.0:return:'''flag = Falsepygame.mixer.init() # 音乐模块初始化while 1: if flag == 0:

2021-03-04 07:51:09 111 1

原创 两个摄像头显示

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using OpenCvSharp;using OpenCvSharp.Exten

2021-02-19 12:11:49 202

原创 一个页面显示两个视频

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using OpenCvSharp;using OpenCvSharp.Exten

2021-02-16 11:16:53 221

原创 c#显示图片

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using OpenCvSharp;using OpenCvSharp.Exten

2021-02-13 19:31:03 1477

原创 c#视频

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using OpenCvSharp;using OpenCvSharp.Exten

2021-02-13 19:29:37 155

原创 仿三菱

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.IO.Ports;//using Microsoft.VisualBasic.Devices;namespace.

2021-02-10 20:20:46 95

空空如也

空空如也

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

TA关注的人

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