-
vb 分形树
Dim xs As Integer
Dim ys As Integer
Dim alph As Single
Dim lng As Single
Dim m As Integer
Const PI As Single = 3.14159265
Private Function tree(x As Integer, y As Integer, angle As Single, length As Single, n As Integer)
Dim x0 As Integer
Dim y0 As Integer
Dim alpha As Single
Dim beita As Single
Dim leng As Single
BackColor = vbWhite
If n > 0 Then
x0 = x + Cos(angle) * length
y0 = y - Sin(angle) * length
picture1.Line (x, y)-(x0, y0), vbbrake
alpha = angle - PI / 8
beita = angle + PI / 8
leng = 2 * length / 3
Call tree(x0, y0, alpha, leng, n - 1)
&nbs
- 2022-01-24 19:06:52下载
- 积分: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
-
EM78P153设计的PWM源代码,里面有详细的描述。
EM78P153用PWM设计的源代码,其中有详细的说明。
- 2022-08-03 05:00:27下载
- 积分:1
-
汇编打字游戏的源代码
汇编打字游戏的源代码-compilation typing game"s source code
- 2022-01-22 03:27:44下载
- 积分:1
-
homemade clocks and clock interrupt handling procedures in the establishment of...
自制时钟及时钟中断处理程序的编制
在CMD下运行,在右上角将出现当前的时间,同时可以输入CMD下的各种命令
相当于把单任务的操作系统改成多任务(一个显示时间,一个处理各种命令)-homemade clocks and clock interrupt handling procedures in the establishment of CMD running, in the upper right-hand corner there will be the current time, CMD also can be imported under the order amounts to a single task into multi-task operating system (a show, deal with a variety of orders)
- 2022-01-22 09:07:33下载
- 积分:1
-
两个十进制数相乘的实验
一. 实验目的 1.掌握乘法和循环指令的用法。 2.熟悉在PC机上建立、汇编、连接、调试和运行,8088/8086汇编语言程序的过程。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-08-25 13:45:03下载
- 积分:1
-
汇编语言符号和符号资料概要
汇编语言符号和教材符号汇总-assembly language symbols and symbols materials Summary
- 2023-07-05 18:00:02下载
- 积分:1
-
这个程序真的很有用,它可以告诉你怎样来运用单片机,不仅仅是写一个程序而已,相信你看了之后一定收获不小!...
这个程序真的很有用,它可以告诉你怎样来运用单片机,不仅仅是写一个程序而已,相信你看了之后一定收获不小!-this procedure is really useful, it can tell you how to use the microcontroller, is not just a procedure adopted, I believe you will certainly learned a lot after reading!
- 2022-09-25 07:25:03下载
- 积分:1
-
汇编语言实现的烟花效果,包括源代码和EXE文件,C.
用汇编实现的一个烟花效果,包括源代码和exe文件,直接可以看效果-Assembler to achieve a fireworks effects, including source code and exe files, can be seen the direct effect of
- 2022-02-14 23:21:12下载
- 积分:1
-
MSP430 C 例程_编译器为IAR embedded workbench,如要更多资料请联系我...
MSP430 C 例程_编译器为IAR embedded workbench,如要更多资料请联系我-MSP430 C compiler routines _ for IAR embedded workbench, if more information please contact me
- 2022-01-24 13:06:46下载
- 积分:1