搜索资源列表
dj4
- 51单片机控制步进电机,细分为2,一步为0.9度,走一圈需要400个脉冲,半径为33mm,一圈走0.10362m走20圈需要8000个脉冲。加速为4000个,减速为4000个,定时器0为60ms时周期为7.8s 为40ms时周期为5.2s-51 single-chip stepper motor control, subdivision 2, a step of 0.9 degrees, walk around 400 pulses required radius 33mm, around 20
circle
- this code will help you to draw a circle, the input is the radius and no. of point and the center point
lcd-qumoruanjian
- 该软件可以生成单个汉字或是260×140的黑白图片 生成点阵模的风格是Asm51或C51风格 采用专用地LED显示屏控件,具有5种色彩风格,行列可在1~254选择,LED半径可在1~254选择; 可视化地修改LED显示屏控件的参数;-The software can generate a single character or a 260 × 140 black and white images generated lattice model style is Asm51 or C
1302
- 本作品是用16个LED灯作为显示,分别接在两个I/O口,把LED灯和驱动单片机立在一横板上,横板下有电机使其转动,通过测量转动的半径和转动的速度,来使人能看清界面,在板子转动起来后,通过无线控制模块来控制游戏。-This work is the use of 16 LED lights as a display, respectively, then the two I/O port, the LED lights and drive across the board in a single c
GLCD_Extended_by_CNR
- This file contains drivers for using a KS0108 based 128x64 pixel GLCD. This "Extended_GLCD.c" driver based on, "GLCD.c" driver can be found in CCS installation folder. The driver treats the upper left pixel as (0,0). // The NEW functions added b
Point-x-y
- 先建立一个点类Point,包含数据成员x,y(坐标点)。以它为基类,派生出圆类Circle,增加数据成员radius(半径),再以Cirlcle类为直接基类,派生出圆柱体类Cylinder,再增加数据成员height(高)。要求: (1)每个类都有构造函数、用于从键盘获取数据的成员函数set(),用于显示数据的成员函数display()。 (2)用虚函数输出各类对象信息 -First establish a point class Point contains data member
Circle
- 1. 声明一个Circle类,有:数据成员Radius(半径),成员函数GetArea()计算圆的面积,构造函数Circle(float radius)进行初始化和析构函数。在主函数中创建一个Circle类的对象进行测试(输入一个数值,作为Circle类对象的半径,调用该对象的GetArea()求以该数值为半径的圆的面积)。-1. Declaring a Circle class are: data members Radius (Radius), member function GetArea
FLB
- 能够实现摆幅、角度可设置的单摆运动,能够实现半径可设置的画圆,对于外界扰动5秒内恢复(To achieve swing, angle set of simple pendulum movement, to achieve the radius of the circle can be set, for external disturbance recovery within 5 seconds)
