-
MyCalculator
基于MFC编写的简单计算器Visual C++程序(Write a simple calculator based on MFC Visual C++ program)
- 2010-08-20 12:59:39下载
- 积分:1
-
create-project
VxWorks视频-VxWorks创建工程(VxWorks)
- 2009-03-02 11:55:01下载
- 积分:1
-
FK变换滤波
FK滤波,网上转载的
FK滤波,网上转载的
FK滤波,网上转载的
FK滤波,网上转载的
FK滤波,网上转载的
- 2022-04-09 20:30:41下载
- 积分:1
-
C# 在程序中使用指针、十字光标、浮动窗口等不安全代码
C# 在程序中使用指针、十字光标、浮动窗口等不安全代码的实例,单击以下按钮会演示出对应功能:
在程序中显示一个浮动帮助窗口
显示等待光标
显示十字光标
对于功能实现,逐一分享源代码如下:在程序中使用指针等不安全代码:
var MyFileName = "C:atlog.txt";
var MyReader = new MyReaderClass(MyFileName);
const int MyBuffSize = 128;
byte[] MyBuffer = new byte[MyBuffSize];
ASCIIEncoding MyEncoder = new ASCIIEncoding();
var MyInfo = MyFileName + "的内容如下:";
while (MyReader.Read(MyBuffer, 0, MyBuffSize) != 0)
MyInfo += "
" + MyEncoder.GetString(MyBuffer);
MessageBox.Show(MyInfo, "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
private void button2_Click(object sender, EventArgs e)
{//在程序中显示一个浮动帮助窗口
Help.ShowPopup(this, "提高程序开发效率、拓展软件应用领域", new Point(300, 350));
}
private void button3_Click(object sender, EventArgs e)
{//显示等待光标
this.Cursor = Cursors.WaitCursor;
}
private void button4_Click(object sender, EventArgs e)
{//显示十字光标
this.Cursor = Cursors.Cross;
}
- 2023-05-20 08:40:02下载
- 积分:1
-
矩阵各种运算,包括矩阵求逆,矩阵相乘,矩阵转置
矩阵各种运算,包括矩阵求逆,矩阵相乘,矩阵转置-Matrix
- 2022-01-26 03:26:07下载
- 积分:1
-
p2t
原工程为pdftotext但在使用时候发现很难使用,于是自己整理了一下,最终生成的文件为动态链接库p2t.dll里通这个导出函数,直接把PDF转化成文本文件,留着自己用的,现在传上来分享一下.(Original works of pdftotext but found it difficult to use in the use of time, so he tidied, the resulting file is a dynamic link library p2t.dll li through the export function, directly to the PDF into text files, keep their own use, Now pass up share.)
- 2013-10-30 22:39:00下载
- 积分:1
-
LTC68xx develop
此资料包括LTC68xx驱动库、arduino开发BMS资料及其他资料介绍,此开发资料主要用于BMS系统开发,主要是LTC6811的使用(带C库文件及芯片datasheet),只验证了LTC6811库驱动(This information includes LTC68xx driver library, Arduino development BMS data and other information. This development information is mainly used for BMS system development, mainly for the use of LTC6811 (with C library files and chip data sheet), which only verifies the LTC6811 library driver.)
- 2018-11-19 15:38:40下载
- 积分:1
-
stm32_EPP_LPT
利用stm32f4系列的微处理器模拟电脑的并口通信,实现数据的传输等功能。(using stm32f4XX to complete the comunication with PC.)
- 2021-03-15 18:59:22下载
- 积分:1
-
步进电机
编制MCS-51程序使步进电机按照规定的转速和方向进行旋转,并将已转动的步数显示在数码管上。
步进电机的转速分为两档,当按下S1开关时,加速旋转,速度从10转/分加速到60转/分。当松开开关时,减速旋转,速度恢复为10转/分。当按下S2开关时,按照逆时针旋转;当松开时,按照顺时针旋转。
本程序要求使用定时器中断来实现,不准使用程序延时的方式。(The MCS-51 program is programmed to rotate the stepper motor according to the specified speed and direction, and the number of steps that have been rotated is displayed on the digital tube.
Stepper motor speed is divided into two gears. When the S1 switch is pressed, the speed is accelerated from 10 rpm to 60 rpm. When the switch is loosened, the speed will be reduced to 10 rpm. When pressing the S2 switch, rotate counterclockwise; when loosening, rotate clockwise.
This procedure requires the use of timer interrupt to achieve, do not use the way of program delay.)
- 2020-06-16 09:40:02下载
- 积分:1
-
PWM50K
说明: 能够输出50kHZ,占空比50%的带死区的互补PWM(Complementary PWM with dead zone and 50% duty cycle can output 50kHZ)
- 2020-06-20 04:40:01下载
- 积分:1