-
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
-
一些基本的浮点数运算实现,可以方面地在ASM环境下调用这些子程序,简化编程...
一些基本的浮点数运算实现,可以方面地在ASM环境下调用这些子程序,简化编程-Some of the basic floating-point realize, you can easily call in ASM environment of these subroutines, simplify programming
- 2022-03-23 23:41:10下载
- 积分:1
-
介绍汇编语言,属于教程一类的,想学习对硬件编程的朋友可以下载来看看。直接解压就可,CHM文件。...
介绍汇编语言,属于教程一类的,想学习对硬件编程的朋友可以下载来看看。直接解压就可,CHM文件。-introduction to the compilation of language, belong to a category Guide, want to learn programming for the hardware can be downloaded friends to see. Decompression can be direct, CHM file.
- 2022-01-24 17:42:14下载
- 积分:1
-
装置的功能是对温度进行实时监测与控制。由温度传感器DS18B20对温度进行采样和转换成数字信号送入单片机,并与设定的报警温度上、下限值进行比较,信息通过LCD显...
装置的功能是对温度进行实时监测与控制。由温度传感器DS18B20对温度进行采样和转换成数字信号送入单片机,并与设定的报警温度上、下限值进行比较,信息通过LCD显示出来。如实时温度超过设定的上、下限值,一方面由LCD显示信息,并发出警报声;另一方面自动控制继电器(Relay)开接通或断开,从而控制加热源的开与断,达到对温度进行实时控制的目的。-Device" s function is real-time temperature monitoring and control. Temperature by the temperature sensor DS18B20 sample and converted into a digital signal into the microcontroller, and with the set alarm temperature of the upper and lower limit comparison information through the LCD display. Such as real-time temperature exceeds a set upper and lower limits on the one hand by the LCD to display information, and the alarm sound the other hand, automatic control relay (Relay) to open turn on or off to control the opening and the heat source off, to achieve real-time temperature control.
- 2022-02-20 12:38:04下载
- 积分:1
-
二级公共基础知识总结
全国二级c语言公共基础知识总结,由专业培训机构的专业老师编写,包含了近几年来的二级考试公共基础知识点,分点总结,结合每年题型,非常全面,专业,实用。
- 2022-05-29 13:57:44下载
- 积分: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
-
电动车从起跑线出发(车体不得超过起跑线),沿引导线到达B点。在“直道区”铺设的白纸下沿引导线埋有1~3块宽度为15cm、长度不等的薄铁片。电动车检测到薄铁片时需...
电动车从起跑线出发(车体不得超过起跑线),沿引导线到达B点。在“直道区”铺设的白纸下沿引导线埋有1~3块宽度为15cm、长度不等的薄铁片。电动车检测到薄铁片时需立即发出声光指示信息,并实时存储、显示在“直道区”检测到的薄铁片数目。
(2)电动车到达B点以后进入“弯道区”,沿圆弧引导线到达C点(也可脱离圆弧引导线到达C点)。C点下埋有边长为15cm的正方形薄铁片,要求电动车到达C点检测到薄铁片后在C点处停车5秒,停车期间发出断续的声光信息。
(3)电动车在光源的引导下,通过障碍区进入停车区并到达车库。电动车必须在两个障碍物之间通过且不得与其接触。
(4)电动车完成上述任务后应立即停车,但全程行驶时间不能大于90秒,行驶时间达到90秒时必须立即自动停车。
-err
- 2022-01-24 13:29:12下载
- 积分:1
-
特点:
1. 双轴倾角传感器
2. 测量范围0.5g(±30 度)或者1g(±90 度)
3. 单极5V 供电,比例电压输出
4. 高分辨率双轴
特点:
1. 双轴倾角传感器
2. 测量范围0.5g(±30 度)或者1g(±90 度)
3. 单极5V 供电,比例电压输出
4. 高分辨率双轴倾角传感器
5. 数字SPI 或模拟输出
6. 内置温度传感器
7. 长期稳定性非常好
8.高分辨率,低噪声,工作温度范围宽
优势:
长期稳定性好,温度特性优良
抗冲击能力强
应用:
双轴平台调平
倾斜测量
垂直方向的各种角度的测量-Features: 1. Biaxial inclination sensor 2. Measuring range of 0.5g (± 30 degrees) or 1g (± 90 degrees) 3. Unipolar 5V power supply, the ratio of voltage output 4. High-resolution dual-axis inclination sensor 5. SPI digital or analog output 6. Built-in temperature sensor 7. 8 very good long-term stability. High-resolution, low noise, wide operating temperature range of advantages: long-term stability, excellent temperature characteristics of the application of anti-shock capability: dual-axis tilt platform leveling vertical measurement range of the angle measurement
- 2023-01-03 08:30:03下载
- 积分:1
-
此程序为基于MATLAB的PSPICE仿真,非常实用,适用于初学者使用...
此程序为基于MATLAB的PSPICE仿真,非常实用,适用于初学者使用-This procedure for the PSPICE simulation based on MATLAB is very useful for beginners to use
- 2022-02-02 02:37:15下载
- 积分:1
-
硬件设计:简易LED显示计算器
运用汇编实现简易的4位加减乘除计算器,通过硬件课程实践,证明代码的有效性,并且,在确认键值的方法上有更新的方法,值得参考借鉴。
- 2022-07-11 02:07:35下载
- 积分:1