用汇编语言编写的简单的打字计时练习程序。
1
基于FPGA,用VHDL语言编写的计时秒表程序,运行成功,可供大家参考使用。
2021-12-02 09:14:06 2.72MB VHDL FPGA 计时秒表
1
附赠部分代码 //开始计时按钮单击事件 private void btnOk_Click(object sender, EventArgs e) { if (timer1.Enabled == false) { this.btnOk.Text = "停止计时"; this.timer1.Enabled = true; } else { this.btnOk.Text = "开始计时"; this.timer1.Enabled = false; } } //时钟控制事件 private void timer1_Tick(object sender, EventArgs e) { t = t + 1;//得到总的毫秒数 this.lblTime.Text = GetAllTime(t); } //加载事件 private void Time_Load(object sender, EventArgs e) { this.timer1.Enabled = false; this.timer1.Interval = 1; } 其余的部分下载看
2021-11-02 19:20:50 165KB 计时器
1
师兄比赛需要用计时器 我自己做了一个 程序参考一下吧
2021-09-25 10:36:36 4KB 计时器
1
WPF 秒表 计时器 定时关机 到计时关机 public const uint WM_SYSCOMMAND = 0x0112; public const uint SC_MONITORPOWER = 0xF170; [DllImport("user32")] public static extern IntPtr SendMessage(IntPtr hWnd, uint wMsg, uint wParam, int lParam); /// /// 关闭显示器 /// public void CloseScreen() { IntPtr windowHandle = Process.GetCurrentProcess().MainWindowHandle; SendMessage(windowHandle, WM_SYSCOMMAND, SC_MONITORPOWER, 2); // 2 为关闭显示器, -1则打开显示器 } using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; using System.Windows.Threading; using IniFiles; namespace StopWatch { /// /// shutdonwCtrl.xaml 的交互逻辑 /// public partial class shutdonwCtrl : UserControl { DispatcherTimer timer1; DispatcherTimer timer2; public shutdonwCtrl() { InitializeComponent(); timer1 = new DispatcherTimer(); timer1.Tick += new EventHandler(OnTimer1); timer1.Interval = new TimeSpan(0, 0, 1); timer2 = new DispatcherTimer(); timer2.Tick += new EventHandler(OnTimer2); timer2.Interval = new TimeSpan(0, 0, 1); btn_cancel.IsEnabled = false; cancel1.IsEnabled = false; } IniFile INI = new IniFile(IniFile.AppIniName); public void LoadIni() { cbo_hour.Text = INI.ReadString("定时关机", "时", "0"); cbo_Minute.Text = INI.ReadString("定时关机", "分", "0"); cbo_Second.Text = INI.ReadString("定时关机", "秒", "0"); cbo1.Text = INI.ReadString("到计时关机", "分", "0");
2021-09-16 14:59:16 283KB WPF 秒表 计时器 定时关机
1
一个可以计时的小程序
2021-08-03 18:03:24 715B c++
1
这次做了51单片机的实验数字秒表显示,用到了定时器,中断服务函数,还有就是数码管的动态显示,还有就是程序的逻辑考虑初次在这里写,经验不足,排版不够美观。
2021-07-01 13:11:36 33KB 单片机 数字秒表 计时器 程序编写
1
一个arm计时器设计程序 供大家入门学习,相信初学者一定会受益匪浅的。。。 祝大家都能学会!学习顺利!
2021-06-01 16:41:54 493KB arm 计时器 程序设计
1
例如像美国大选那样的辩论,正反双方的发言都是有时间控制的。本微信小程序可以设置每次发言时间(立论、驳立论、质辩等的时间),而且可以设置提前15秒等提醒。
2021-05-09 13:04:19 10KB 倒计时小程序 计时小程序
1
51单片机:计时器程序 编写语言:C 运行情况:完美运行
2020-01-03 11:20:28 1KB 51单片机 计时器程序
1