-
MSP430的闪烁LED使用定时器
应用背景定时器是用来闪烁发光二极管的。每一次溢出,定时器产生一个中断,这是用来眨眼的。由于定时器的时钟由smclock(运行在约1MHz),8溢出数近似每0.5秒钟闪烁一次。 ;关键技术本示例使用定时器时钟从smclock。这个时钟是基于单片机的电流频率1MHz。在这种情况下,我们希望LED切换每0.5s。利用上述公式,我们可以计算出如何程序定时器。计数结果在524288,这是8倍65536。该定时器将产生一个溢出中断,并重置一次,它达到65536。因为我们要数到524288,之后每8溢出中断,LED将被切换的。
- 2022-02-03 17:22:22下载
- 积分:1
-
nOKİ A 6100 lcd SAMPLE CODE
nOKİ A 6100 lcd SAMPLE CODE
- 2022-03-23 08:02:51下载
- 积分:1
-
Major topics of the MCU math calculator features, very well.
主要讲了单片机实现数学计算器的功能,十分好。-Major topics of the MCU math calculator features, very well.
- 2022-12-10 01:20:03下载
- 积分:1
-
国家标准
国家标准-软件开发规范,内含完整14篇规范文档-National standards- software development specification, including 14 complete specification documents
- 2023-03-04 06:20:04下载
- 积分:1
-
基于IAR平台STM32处理器实现鼠标、键盘类设备的源代码
基于IAR平台STM32处理器实现鼠标、键盘类设备的源代码-STM32 processor-based platform to achieve IAR mouse, keyboard class device" s source code
- 2022-07-01 18:02:56下载
- 积分:1
-
Montavista2004年的讲稿,关于linux2.6内核在嵌入式中的应用。
Montavista2004年的讲稿,关于linux2.6内核在嵌入式中的应用。-Montavista2004 the script, on linux2.6 cores embedded in the application.
- 2022-08-20 12:02:04下载
- 积分:1
-
关于单片机的极值问题的编程,比较简单的东西了
关于单片机的极值问题的编程,比较简单的东西了-Extremal problems on the microcontroller programming, a relatively simple thing of
- 2022-04-20 12:03:55下载
- 积分:1
-
pci驱动开发介绍,从简单开始,很容易掌握
pci驱动开发介绍,从简单开始,很容易掌握-Introduction pci-driven development, from simple to start, it is easy to grasp
- 2022-04-24 22:24:06下载
- 积分:1
-
keil LPC229x web application source code
keil LPC229x web application source code
- 2023-08-28 16:20:03下载
- 积分:1
-
This procedure for us to participate in the Fourth National University Freescale...
本程序为我们参加第四届飞思卡尔全国大学生智能汽车竞赛的源代码,较好的解决了路径识别的问题. 开发环境:CodeWarrior 4.5 芯片:mc912dg128-This procedure for us to participate in the Fourth National University Freescale Smart car racing" s source code, the better solution of the path identify the problem. Development environments: CodeWarrior 4.5 Chip: mc912dg128
- 2023-04-08 13:30:03下载
- 积分:1