-
Timertest
基于ARM7 44b0x硬件平台的计时器Timer驱动程序,包括初始化、测试功能,均已调试通过。需要的朋友可以参考下!(Hardware platform based on the ARM7 44b0x timer Timer driver, including the initialization, test functions, have been debug through. Friend in need can refer to the next!)
- 2009-02-08 15:31:20下载
- 积分:1
-
C#自动更新服务(本地服务安装)
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Common.WinService;using Common.Log;using System.Threading;using Common.Net;using System.Text.RegularExpressions;namespace Collection.AutoRunner{ //获取学生信息 public class Service_Update_Data : IWindowsService { private ILogWriter _logWriter = null; private const string logCategory = "Services.Info"; private string logInfoSource = "Update_Data"; private const string logErrorCategory = "Services.Error"; private const string logErrorSource = "Update_Data_Error"; private bool BeStop = true; private System.Timers.Timer timer = null; public void Start(Common.Log.ILogWriter logWriter, string gameCode) { gameCode = gameCode.ToUpper(); logInfoSource = gameCode; _logWriter = logWriter; BeStop = false; StartRequestData(); } int stata = 0; private void StartRequestData() { try { #region 配置 //时间频率 var UpdateStudentSpan = ServiceHelper.GetInterval("UpdateData"); //更新学生开始时间 var studentbegintime = ServiceHelper.GetInterval("StudentBeginTime"); //更新学生结束时间 var studentendtime = ServiceHelper.GetInterval("StudentEndTime"); //是否更新学生基本信息:true为更新 false为不更新 var IsUpdateStudnet =Convert.ToBoolean(ServiceHelper.GetSystemConfig("IsUpdateStudnet")); #endregion timer = ServiceHelper.ExcuteByTimer(UpdateStudentSpan, () => { int timeHour = DateTime.Now.Hour; if (timeHour == 3) stata = 0; #region 更新学生基本信息 if (studentbegintime
- 2015-03-11下载
- 积分:1
-
stm32f1 I2C DMA 源代码
在这个链接上,可以重用大部分(或全部)的代码,在这个链接中,我提供了。
- 2023-06-29 16:30:03下载
- 积分:1
-
TestImage
Cimage类工具,能实现两张图片合成,单张图片拉伸,参数可以自己定义(Cimage class tool, can achieve two image synthesis, single image stretching, parameters can be defined by themselves)
- 2018-08-16 09:26:20下载
- 积分:1
-
dictionary
利用Trie树实现一个英语单词辅助记忆系统,完成相应的建表和查表程序(Trie tree using an English word to achieve auxiliary memory system, complete the appropriate procedures for the construction table and look-up table)
- 2010-05-05 20:53:32下载
- 积分:1
-
Hex2c
Hex文件转换为 C 文件, 比较实用的一个小工具。(Convert HEX files to C files)
- 2010-05-20 17:58:46下载
- 积分:1
-
stm32f103zet6开环控制霍尔电机
stm32f103zet6控制BLDC直流无刷电机,调节占空比,调节电机转速。控制功能包括:按键控制正转、反转、加速、减速和加减速。采用MDK-ARM5.18编程,C语言编写,调节直流无刷电机。
- 2022-01-25 17:15:46下载
- 积分:1
-
C8051USB
这是一个基于C8051F340的SD读卡器
#include "F34x_MSD_Physical_Settings.h"
#include "F34x_MSD_CF_Basic_Functions.h"
#include
sbit Led1 = P2^2;
sbit Led2 = P2^3;
void CF_Port_Init();
//----------------------------------------------------------------------------
// Init_CF
//----------------------------------------------------------------------------
//
// This routine initializes the Compact Flash memory card
//
// Parameters :
// Return Value :
//----------------------------------------------------------------------------
char Init_CF()
{
xdata char result = Dtct_Card();
xdata unsigned int loop = 0;
xdata unsigned reinit = 0;
if (result == 1) return (CF_NO_CARD);
REINIT:
CF_RST = 1;
while(++loop);
- 2022-04-22 04:06:23下载
- 积分:1
-
lcd1602-12864
51单片机驱动12864及1602程序,带有proteus仿真(51 microcontroller drive 12864 and 1602, with proteus simulation
)
- 2015-01-29 08:44:57下载
- 积分:1
-
基于傅立叶变换FFT的大规模海面的实现方法
基于傅立叶变换FFT的大规模海面的实现方法(Realization of Large-scale Sea Surface Based on Fourier Transform FFT)
- 2019-02-15 12:53:25下载
- 积分:1