-
ads7846
asaasa adxsadsa ssda
- 2011-05-10 21:28:29下载
- 积分:1
-
C# 定义文本框中的字体样式(粗体 斜体 下划线等)
这个示例比较简单,但挺有用,特别是使用C#处理一些文本时尤其实用,比如设置字体的样式:粗体、斜体、下划线、删除线、字体选择、字体颜色定义、字体大小(字号)定义等,下面是一些相关的定义操作:
fontDialog1.AllowVectorFonts = true;//设置用户可以选择矢量字体
fontDialog1.AllowVerticalFonts = true;//设置字体对话框既显示水平字体,也显示垂直字体
fontDialog1.FixedPitchOnly = false;//设置用户可以选择不固定间距的字体
fontDialog1.MaxSize = 72;//设置可选择的最大字
fontDialog1.MinSize = 5;//设置可选择的最小字
if (fontDialog1.ShowDialog() == DialogResult.OK)//判断是否选择了字体
{
if (richTextBox1.SelectedText == "")//判断是否选择了文本
richTextBox1.SelectAll();//全选文本
richTextBox1.SelectionFont = fontDialog1.Font;//设置选中的文本字体
}
完整的源码示例,请下载本源码。
- 2022-05-17 20:48:47下载
- 积分:1
-
kcm
关于kfcm的一些原代码 都在这里面了,有需要的(About the KFCM some original code in there)
- 2012-04-26 16:35:39下载
- 积分:1
-
PID0001
PID比例积分微分控制程序包
神经网络自适应控制程序
- 2010-12-18 17:12:44下载
- 积分:1
-
LineMarch
BMP图像边缘提取后 根据边缘点集直线拟合(BMP image edge extraction fitting a straight line)
- 2011-06-23 14:53:47下载
- 积分:1
-
wuziqi
五子棋的实验报告 人工智能 包含的内容很丰富,要了很久,师兄才给的。(very good lecture for)
- 2012-06-08 23:47:07下载
- 积分:1
-
SeaLight1.0
这是航标灯的代码,包含功能有gprs,gps定位,灯质,电池电压电流检测,等(This is the beacon lights of the code, including functions gprs, gps positioning, light quality, battery voltage and current detection, etc.)
- 2020-09-23 01:57:53下载
- 积分:1
-
200711-0054-05
TMS28335初始化完成之后,
1、 先DDS产生73.35hz的方波。(问流量管固定频率)
2、 乘法器的另一个数字端输入乘数直接给一个固定值(按照5v),系数是固定的就是对应PID输出的那个接口,串行十二位信号输出(需要先定好一个GPIO接口)。
3、 再延迟一定的时间0.1s或其他时间之后,开始ad采集信号,分别采两路AD信号,此时不稳定(为什么要等到一定的幅值才开始采集AD信号)
4、 选择250点估计一个频率,频率估计的方法采用计算峰值次数的方法或者过零点,总之是为了保证精度采用时域估计的算法,这一块主要是一个扫频子程序,计算频率共振点。
5、 之后改变DDS的输出频率,循环对512点的数据进行扫频的处理
6、 频率控制完成之后,就可以缓慢降低PID控制输出的参数,此时暂时不计算频率,通过不断调整系数使AB的幅度保持在1 的范围内。
7、 测试幅度控制稳定之后a、采用幅度和频率同时控制b。采集数据进入频率估计和相位差估计的后续程序的大循环
8、 注意:采样和控制是同时进行的,所以要设置中断,以及看懂AD的程序,以及内部存储以及数据处理资源的分配。
(TMS28335 initialization is complete,
1, the first DDS generated square wave of 73.35hz. (Q flow tube fixed frequency)
2, another digital side of the multiplier input multiplier directly to a fixed value (in accordance with 5v), the coefficient is fixed corresponding PID output interface, serial twelve signal output (need to be a good one GPIO interface).
3, and then after a certain time delay 0.1s or other time, ad signal acquisition were collected two AD signal instability (Why wait until a certain amplitude began collecting AD signal)
4, 250 point estimate a frequency, frequency estimation method using the method of calculation of the number of peak or zero crossing, in short, in order to ensure the accuracy of time-domain estimation algorithm, this piece is a sweep subroutine to calculate the frequency resonance point.
5, after the change of the output frequency of the DDS data of 512 points, the loop processing Sweep
6, after the completion of the frequency control, it can sl)
- 2013-04-07 15:03:14下载
- 积分:1
-
RL78G13_Bootloader
瑞萨RL78系列 BootLoader例程(Renesas RL78 series BootLoader routines)
- 2018-09-17 21:27:10下载
- 积分:1
-
TI keyfob开发板防丢器源代码
TI的开发板---keyfob,使用BMA250三轴加速度计,CC2541低功耗蓝牙芯片,压缩包内包含:BMA250.c,buzzer.c,以及原厂出厂的三轴加速度计CMA3000d芯片的源程序,以及防丢器的主程序。
- 2022-06-02 17:13:27下载
- 积分:1