-
输入三个整数x,y,z,请把这三个数由小到大输出。 1.程序分析:我们想办法把最小的数放到x上,先将x与y进行比较,如果x>y则将x与y的值进行交换,然后...
输入三个整数x,y,z,请把这三个数由小到大输出。 1.程序分析:我们想办法把最小的数放到x上,先将x与y进行比较,如果x>y则将x与y的值进行交换,然后再用x与z进行比较,如果x>z则将x与z的值进行交换,这样能使x最小。-Enter the three integers x, y, z, please these three the number of small to large output. 1. Program analysis: We think of a way to put x number of the smallest, the first comparison of x and y, if x> y will be the value of x and y exchange and then to compare x and z, if x > z will be x and z values of the exchange, which will enable x minimum.
- 2022-08-11 02:17:41下载
- 积分:1
-
首先,分别对8255、8253进行初始化,设置8255为A口、C口输出,设置8253的计数器0为工作模式3;其次,设置IRQ7的中断矢量,使得有IRQ7中断时调...
首先,分别对8255、8253进行初始化,设置8255为A口、C口输出,设置8253的计数器0为工作模式3;其次,设置IRQ7的中断矢量,使得有IRQ7中断时调用SERVER;再次,调用INIT对计数值初始化;最后,主程序循环等待中断,开始秒表的计时。 2、 INIT子程序-First, the 8255,8253 initialization, set for the 8255 A-C mouth output, set 8253 as the Counter mode 0 3; Second, set up the interruption vector there, make it there interruption call SERVER; Again, call curl_setopt early to count before; Finally, the cycle of waiting for the main program interruption began stopwatch time. 2, curl_setopt Subroutine
- 2023-06-17 15:15:03下载
- 积分:1
-
this a simple Timer original code
this a simple Timer original code
- 2023-03-22 08:35:04下载
- 积分:1
-
matlab
比较有用的matlab实例,给matlab初学者参考,有需要的还可以联系我-matlab
- 2022-07-22 01:36:45下载
- 积分:1
-
I CS3758DEMO prepared by the test procedure CS3758 mainly for 5.1 CH electronic...
本人编写的CS3758DEMO测试程序,CS3758主要用于5.1CH电子音量控制,兼容PT2258-I CS3758DEMO prepared by the test procedure CS3758 mainly for 5.1 CH electronic volume control, compatibility PT2258
- 2023-01-02 09:40:03下载
- 积分:1
-
这 是 一 篇 基 于 C 语 言 的 单 片 机 电 子 时 钟 的 程 序
这 是 一 篇 基 于 C 语 言 的 单 片 机 电 子 时 钟 的 程 序-This is a C language-based single-chip electronic clock procedures
- 2022-09-14 15:10:03下载
- 积分:1
-
。 。 。 。 。 。 。。 。
。 。 。 。 。 。 。。 。 -。 。 。 。 。 。 。。 。 。 。 。 。 。 。 。
- 2023-06-13 18:35:04下载
- 积分:1
-
图书管理系统,管理图书的借阅与归还,并进行记录
图书管理系统,管理图书的借阅与归还,并进行记录-Library management system to manage the books borrowed and returned, and recorded
- 2022-03-22 09:51:51下载
- 积分:1
-
采用电流正弦波细分原理,研制出了一种三相混合式步进电机驱动器,实现了三相混合式步进电机的相电流闭环控制和细分驱动。具有多种细分和相电流设置功能,能够驱动多种三相...
采用电流正弦波细分原理,研制出了一种三相混合式步进电机驱动器,实现了三相混合式步进电机的相电流闭环控制和细分驱动。具有多种细分和相电流设置功能,能够驱动多种三相混合式步进电机,其最小步距角为0.036°。-Breakdown of the use of sinusoidal current principle, developed a three-phase hybrid stepping motor driver, to achieve a three-phase hybrid stepping motor phase current breakdown of the closed-loop control and drive. With multiple segments and phase current setting function, able to drive a variety of three-phase hybrid stepping motor, the smallest step angle is 0.036 °.
- 2022-07-11 18:48:51下载
- 积分:1
-
微机原理课程设计,设计一段音乐,根据音调在发光二极管上对应闪烁,并在七段数码管上显示已播放时间。...
微机原理课程设计,设计一段音乐,根据音调在发光二极管上对应闪烁,并在七段数码管上显示已播放时间。-Computer Principles of curriculum design, the design of a section of music, according to pitch in the corresponding LED flashes, and Seven-Segment LED display has been broadcasting time.
- 2023-06-15 22:25:03下载
- 积分:1