-
PIC8单片机ADC应用
#include
volatile unsigned char adresult;
void ADC_Sample(unsigned char adch);
void DelayXms(unsigned char x);
#define _DEBUG //调试程序用
/**********************************************************
函数名称:AD_Sample
函数功能:AD检测
入口参数:adch - 检测通道
出口参数:无
备 注:采样通道需自行设置为模拟口
采样10次,取中间八次的平均值为采样结果存于adresult中
**********************************************************/
void ADC_Sample(unsigned char adch)
{
static unsigned int adsum = 0;
static unsigned char admin = 0,admax = 0;
static unsigned char adtimes = 0;
ADCON1 = 0; //左对齐
ADCON0 = 0X41 | (adch
- 2022-01-25 15:00:46下载
- 积分:1
-
Keil5初始化代码
有关Keil5的初始化代码(寄存器版本)
- 2022-03-31 03:35:11下载
- 积分:1
-
dune-common-1.2.1
DUNE (Distributed and Unified Numerics Environment),分布和统一数值解环境,是一种求解偏微分方程的基于网格的方法(PDE)的模块化的工具箱。DUNE是所有这些体现了科学计算的概念从抽象的接口设置第一次。现代C + +编程技术使同样的概念非常不同的实现使用一个非常低的开销一个共同的接口。因此,DUNE确保在科学计算的效率,并支持高性能计算应用。(DUNE (Distributed and Unified Numerics Environment), distribution and unified numerical solution of the environment, is a solution of partial differential equations of the grid-based methods (PDE) of the modular toolbox. DUNE is that all these reflect the concept of scientific computing from the abstract interface settings for the first time. Modern C++ programming techniques to the same concept is very different implementations use a very low cost of a common interface. Therefore, DUNE ensure the efficiency of scientific computing, and supports high-performance computing applications.)
- 2010-09-15 22:23:45下载
- 积分:1
-
RSA
ras加密实现,图形界面.源码附有注释,方便理解。欢迎下载(ras encryption to achieve, graphical interface. annotated source code to facilitate understanding. Welcome to download)
- 2009-07-01 16:53:50下载
- 积分:1
-
juzhen
c语言编程,矩阵自动运算,vc6.0运行(c language programming, matrix automatic operation, vc6.0 run)
- 2013-11-04 03:40:39下载
- 积分:1
-
gps,glonass双模定位daohang
gps,glonass双模定位,求解用户位置坐标,和接收机钟差(the gps, glonass dual-mode positioning)
- 2020-07-05 20:48:59下载
- 积分:1
-
iuplempntation
说明: 巴特沃斯滤波器C语言实现,低通滤波器,IIR(Butterworth filter C language implementation, low pass filter, IIR)
- 2019-01-06 21:57:44下载
- 积分:1
-
缠论代码
缠论依据市场最基本的确定性“任何走势都会结束”为基础,从几何的角度对走势的结构逐步推导,对市场的各种走势做出科学的完全分类,从而指导实际操作。缠论是目前唯一能用数学手段进行证明的交易理论。
转发关于缠论的软件,通达信版本的插件,支持画笔
- 2022-10-23 10:15:03下载
- 积分:1
-
ProcessMonitor
1、实时监控各个exe所做的行为;2、实时监控exe的启动和退出;3、该代码为微软的SysinternalsSuite中的Process Monitor v1.0版本源码;4、工程项目已转化为vs2010(1, real-time monitoring of individual behavior made exe 2, real-time monitoring exe startup and exit 3, the code for Microsoft s SysinternalsSuite the Process Monitor v1.0 version of the source code 4, the project has been converted to vs2010)
- 2013-12-23 18:34:50下载
- 积分:1
-
smatlab
说明: 小波变换通过matlab实现s小波变换代码,给出变换结果。(Wavelet transform, through the realization of s wavelet transform matlab code, given the results of transformation.)
- 2008-10-16 14:12:19下载
- 积分:1