-
PWM控制电机,编辑控制方式。在这个DEMO里建了一个函数F_Pwm(int a,int b) 用于PWM设置,传入两个参数第一个用于频率设置,第二个用于占空比...
PWM控制电机,编辑控制方式。在这个DEMO里建了一个函数F_Pwm(int a,int b) 用于PWM设置,传入两个参数第一个用于频率设置,第二个用于占空比设置。另外还开了外部中断可进行频率和占空比的步进,从而达到调整速度的目的-PWM motor control, edit control mode. In this DEMO was built inside a function F_Pwm (int a, int b) for the PWM settings, with two arguments the first one for the frequency setting, the second set for the duty cycle. It also opened the external interrupt can be the stepping frequency and duty cycle to achieve the purpose of adjusting the speed of
- 2022-02-01 17:37:59下载
- 积分:1
-
学习单片机的教程往往是流水灯、数码管、键盘等等。这些例程主要是熟悉单片机的端口性质,程序算法一般都比较简单。极少见结合单片机I/O端口,内部存储器以及运算技巧为...
学习单片机的教程往往是流水灯、数码管、键盘等等。这些例程主要是熟悉单片机的端口性质,程序算法一般都比较简单。极少见结合单片机I/O端口,内部存储器以及运算技巧为一体的综合性练习。超简单单片机学习套材中的16X16汉字点阵模块提供了一个全新的学习平台。在一块只能显示一个汉字的点阵中,只利用Atmega48的内部资源实现几个汉字的移动,不但要清楚点阵的物理性能,知道如何送数据;还要了解单片机的可用资源,并通过编程利用内部存储器移动交换数据,确实是需要些技-Microcontroller tutorial to learn is often water lights, digital control, keyboard and so on. These routines are mainly familiar with the nature of microcontroller port, the program algorithm is generally relatively simple. Rare combination of microcontroller I/O ports, the internal memory and computing skills integrated exercises. Super-simple MCU learning materials in the 16X16 set of Chinese characters dot-matrix module provides a new learning platform. Can only display one character at a dot-matrix, only the use of internal resources to achieve Atmega48 few characters of the movement, not only to clear the physical properties of dot-matrix, to know how to send data also understand the MCU resources available, and programmed to exchange data using internal m
- 2022-03-25 02:44:30下载
- 积分:1
-
简易电子称设计程序,供学生参考,学习,比较简单,简洁
简易电子称设计程序,供学生参考,学习,比较简单,简洁-Simple electronic design program called for the students for reference, study, relatively simple, concise
- 2023-03-03 14:15:03下载
- 积分:1
-
the source is military aircraft through the volumes imported map pages is to map...
本源程序是实现军用卷图机通过输入页码来是卷图机卷至指定得页码的功能,其中实现了卷动中相应页码输入,向前卷动,向后卷动,返回上次操作等操作,但由于时间原因在红外接口部分没有做好接口-the source is military aircraft through the volumes imported map pages is to map volumes to the designated machine rolls in the pages of the function, which achieved a scrolling pages corresponding input, scrolling forward and backward scrolling, the last operation to operation, But because of the time because in the infrared part of interface do not interface. .
- 2022-04-23 13:10:14下载
- 积分:1
-
PIC16F877A扫描显示三个数码管,供学习的朋友参考。
PIC16F877A扫描显示三个数码管,供学习的朋友参考。-PIC16F877A scan shows three digits for the study and a friend for reference.
- 2023-08-20 11:55:04下载
- 积分:1
-
利用8051串行口,和并行输出串行移位寄存器74LS164扩展一位数码显示在数码显示器上循环显示0...
利用8051串行口,和并行输出串行移位寄存器74LS164扩展一位数码显示在数码显示器上循环显示0-9这10个数字。-Using 8051 serial port, and parallel output serial shift register 74LS164 expansion of a digital display on the cycle in the digital display shows the 10 figure 0-9.
- 2022-06-03 03:39:24下载
- 积分:1
-
GDI 即图形设备界面,是 Windows 最重要的部分之一,它大部分由 GDI32.DLL 库中的 API 来处理,GDI 的主要目的之一是支持与设备无关的图
GDI 即图形设备界面,是 Windows 最重要的部分之一,它大部分由 GDI32.DLL 库中的 API 来处理,GDI 的主要目的之一是支持与设备无关的图形编程,对于 Dos 下的图形编程,很多人可能“心有余悸”,因为PC 中有太多种类的显示卡,而几乎每个显示卡的处理都是不同的,即使后来有了 Vesa 编程,我们还是不能全部撇开具体的硬件,Windows GDI 使我们对图形的编程变得相对简单了很多,由于GDI 是 Windows 最庞大的部分,并不是几句话能讲清楚的,本节要讲的是 Windows 下GDI 的基本处理步骤和简单的位图处理,并没有涉及到 Directx 一类的编程。只希望能对朋友们有所启发。
Windows 并不允许程序员访问显示硬件,它的所有对屏幕的操作是通过环境设备(DC)来处理的,屏幕上的每一个窗口对应一个DC,你可以把一个DC 想象成这个窗口的视频缓冲区,你对DC的操作结果会反映到屏幕上,在窗口的DC之外,你也可以自己建立DC,这相当于建立一个内存中的缓冲区,你对这个DC的操作结果保存在内存中。你也可以用 API 在不同的DC之间拷贝数据,比如说你可以在内存DC 中先建立好数据,然后拷贝到窗口的DC中,就相当于完成了屏幕的刷新。
-err
- 2022-04-12 03:42:06下载
- 积分:1
-
8086 on the preparation of the compilation process for the preparation of the co...
关于8086汇编程序的编写,对于汇编的编写很有借鉴。-8086 on the preparation of the compilation process for the preparation of the compilation of a very useful reference.
- 2022-02-09 16:25:58下载
- 积分:1
-
贪食蛇汇编代码,6502内核环境下开发,调用时去掉一些头文件,在环境里定义ram的起始地址就可以编译...
贪食蛇汇编代码,6502内核环境下开发,调用时去掉一些头文件,在环境里定义ram的起始地址就可以编译-贪食蛇assembly code, 6502 kernel development environment, called to remove a number of header files, in the definition of environment ram start address can be compiled
- 2022-08-10 09:28:39下载
- 积分:1
-
pic16f877a和LCD1602显示网址和电话
pic16f877a和LCD1602显示网址和电话
- 2022-02-06 07:07:21下载
- 积分:1