-
good course meant to share and exchange can progress
好东东当然要拿出来大家分享,互相交流才能有进步-good course meant to share and exchange can progress
- 2023-07-22 05:30:04下载
- 积分:1
-
pic称重传感器源代码
pic称重传感器源代码,应用采样芯片。程序中带有软件滤波。
- 2022-01-26 00:18:42下载
- 积分:1
-
基于OVOV2640板球控制系统 F4
本实验开机后,初始化摄像头模块(OV2640),如果初始化成功,则提示选择模式:RGB565模式,或者JPEG模式。KEY0用于选择RGB565模式,KEY1用于选择JPEG模式。 当使用RGB565时,输出图像(固定为:UXGA)将经过缩放处理(完全由OV2640的DSP控制),显示在LCD上面。我们可以通过KEY_UP按键选择:1:1显示,即不缩放,图片不变形,但是显示区域小(液晶分辨率大小),或者缩放显示,即将1600*1200的图像压缩到液晶分辨率尺寸显示,图片变形,但是显示了整个图片内容。通过KE0Y按键,可以设置对比度;KEY1按键,可以设置饱和度;KEY2按键,可以设置特效。 当使用JPEG模式时,图像可以设置任意尺寸(QQVGA~UXGA),采集到的JPEG数据将先存放到STM32F4的内存里面,每当采集到一帧数据,就会关闭DMA传输,然后将采集到的数据发送到串口2(此时可以通过上位机软件(串口摄像头.exe)接收,并显示图片),之后再重新启动DMA传输。我们可以通过KEY_UP设置输出图片的尺寸(QQVGA~UXGA)。通过KEY0按键,可以设置对比度;KEY1按键,可以设置饱和度;KEY2按键,可以设置特效。 同时时可以通过串口1,借助USMART设置/读取OV2640的寄存器,方便大家调试。DS0指示程序运行状态,DS1用于指示帧中断。main.c的代码 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-19 06:46:58下载
- 积分:1
-
C# 实现的数值分析类库
C#编写的数值分析类库,包括矩阵类库,复数类库,解线性方程组,数值微分,数值积分,插值算法等等实现,每种算法分别有对应例程,注释较为详细,在工程应用中使用即为方便。
- 2022-07-03 02:52:11下载
- 积分:1
-
Credit
第二课堂学分管理系统
个人信息管理 查看修改个人信息
学分公示 查看三日内审核通过的学分项 可按人名查询
学分统计 各条件过滤统计已审核获得学分
学分达标 是否通过,未通过原因
1 第1-6学期各学期须完成综合15课时
2 科研、社会实践或创新活动1学分
3 完成至少3个方面的内容
4 思想政治与道德素养类”活动为必修,且不得低于每学期限制所修学最低分课时数30
学员管理 查看学员信息
管理员管理 添加,修改,删除管理员信息
权限管理 修改角色所操作菜单权限 角色包括 学员 审核员 最高管理员
学分审核 查看所提交的学分项 审核学分项 可按条件过滤查询学分项(The second class credit management system
Personal Information Management View modify personal information
Credits within three days of publicity View credit items can be reviewed through the names of query
Credit Statistics filtering Statistics has examined the conditions of access to credit
Credit standards are adopted, not by reason
1, 1-6 semester are required to complete the synthesis of 15 semester hours
2 research, social practice or innovation activities 1 credit
3 complete at least three aspects
4 Political and moral literacy class "activities as required, and shall not be less than the repair of each school term to limit the number of hours 30 minimum score
Student Administration View student information
Administrators to manage add, modify, delete, manager of information
Rights management permissions to modify the role of the Action menu, including the role of top administrators auditor trainees
Credits credits submitted by the Audit )
- 2011-01-22 15:18:11下载
- 积分:1
-
c# 扫描IP Http Header
c# 扫描IP Http Headerusing 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.Threading;using System.IO;namespace HScan{ public partial class Form1 : Form { int _currentThreads = 0; int _maxThreads = 100; Thread main = null; Thread mt = null; List threads = new List(); public Form1() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; } private void btnStart_Click(object sender, EventArgs e) { btnStart.Enabled = false; if (txtStart.Text.Trim() == "") { MessageBox.Show("起始IP不能为空."); return; } if (txtEnd.Text.Trim() == "") { MessageBox.Show("结束IP不能为空."); return; } int ts = Convert.ToInt32(txtThreads.Text); _maxThreads = ts; string startIp = txtStart.Text; string endIp = txtEnd.Text; TParameter tp=new TParameter(); tp.StartIp=startIp; tp.EndIp=endIp; tp.ThreadCount=ts; main = new Thread(new ParameterizedThreadStart(StartMe)); main.Start(tp); } protected void ThreadManage() { Thread c=null; while (true) { System.Object lockThis = new System.Object(); lock (lockThis) { for (int i = 0; i < threads.Count; i ) { if (threads[i] != null && !threads[i].IsAlive) { c = threads[i]; break; } } if (c != null) { threads.Remove(c); } } } } protected void StartMe(object ob) { mt = new Thread(new ThreadStart(ThreadManage)); mt.Start(); TParameter p = ob as TParameter; string curIp = p.StartIp; while (true) { for (int i = 0; i < _maxThreads; i ) { if (curIp != "") { if (_currentThreads >= _maxThreads) break; System.Object lockThis = new System.Object(); lock (lockThis) { _currentThreads ; if (_currentThreads > _maxThreads) _currentThreads = _maxThreads; string tip = curIp; Thread t = new Thread(new ParameterizedThreadStart(Run)); t.Start(tip); threads.Add(t); curIp = IPUtility.getLastIp(curIp, p.EndIp, 1); } } else { break; } } } } protected void Run(object ob) { string ip = ob.ToString(); SocketGetHead h = new SocketGetHead(); string ret = h.GetHtml(ip, 80); if (ret.IndexOf("DVRDVS-Webs") > 0) { ListViewItem item = new ListViewItem(); item.SubItems[0].Text = (listView1.Items.Count 1).ToString(); ListViewItem.ListViewSubItem lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = ip; item.SubItems.Add(lvSubItem); lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = "DVRDVS-Webs"; item.SubItems.Add(lvSubItem); listView1.Items.Add(item); } System.Object lockThis = new System.Object(); lock(lockThis) { lblCurIp.Text = ip; _currentThreads--; if (_currentThreads < 0) _currentThreads = 0; } } private void tsmCopy_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count > 0) { string ip = listView1.SelectedItems[0].SubItems[1].Text; Clipboard.SetText(ip); } } private void tsmExport_Click(object sender, EventArgs e) { StreamWriter writer = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory "\export.txt",true); foreach (ListViewItem item in listView1.Items) { string ip=item.SubItems[1].Text; writer.WriteLine(ip); writer.Flush(); } writer.Flush(); writer.Close(); MessageBox.Show("导出成功!"); } private void Form1_FormClosing(object sender, FormClosingEventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } Thread.Sleep(5000); } private void btnStop_Click(object sender, EventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } btnStart.Enabled = true; } }}
- 2014-06-23下载
- 积分:1
-
VS2010下实现JSON解析TXT文档
VS2010下实现JSON解析TXT文档,适合刚刚接触JSON方面知识的同学,可以了解JSON的解析方法,程序简单,易懂。
- 2022-03-15 13:21:22下载
- 积分:1
-
基于vc6.0 开发的mfc简易计算器
经测试可用,可以给初学者参考使用!!1
- 2022-02-03 17:04:44下载
- 积分:1
-
EXCEL导入、导出、存储过程运算工具 例子
DataPie可以实现SQL server 2008、ORACLE与ACCESS 2007数据库的导入、导出、存储过程计算。支持EXCEL2007、EXCEL2003、ACCESS2007、CSV文件导入数据库,支持CSV文件转EXCEL文件,支持大数据量表通过多个EXCEL工作簿导出。
- 2013-08-05下载
- 积分:1
-
ov7725摄像头二值化
ov7725摄像头二值化,正点战舰板,黑白二值化,用于寻线小车开发摄像头,使用的是正点战舰板,ov7725采集到图像之后软件处理为黑白二值化
使用stm32f103vet6单片机开发的的OV7670(FIFO)摄像头模块的图像采集程序,摄像头模块为自带fifo的,使用程序采集图像
- 2022-01-24 13:37:31下载
- 积分:1