-
ScanZbuffer
扫描线Zbuffer算法
1。算出模型的包围盒。
2.每条扫描线打点时并不是包围盒内整条线打点,而是先搜索需要刷新的范围, 只是该范围内打点。
(One scan line Zbuffer algorithm. Calculate the model bounding box. 2. Each scan line runs inside the box when not surrounded by the entire line runs, but first need to refresh the scope of the search, but the scope of RBI.)
- 2020-12-31 21:58:59下载
- 积分:1
-
MatlabEngine
matlab Engine与RTW的实验编程,通过C++实现方法来实现(MATLAB Engine with RTW experimental programming, to achieve through C++ method)
- 2013-04-23 14:05:15下载
- 积分:1
-
js_fpga
使用altera的FPGA构建的sopc系统,进行嵌入式C编程,实现了伺服电机的控制。(The SOPC system is built with Altera FPGA, and embedded C programming is used to realize the servo motor control.)
- 2017-09-13 09:22:01下载
- 积分:1
-
USI_Example
usi example msp430 texas instruments usi module
- 2012-04-27 15:06:25下载
- 积分:1
-
对二叉树进行插入,打印屏幕等操作
对二叉树进行插入,打印屏幕等操作。使用动态结构实现,可以学习。代码简洁明了,便与学习。有注释。插入元素,采用递归实现。在t节点插入元素x;深度是temp;num表示若是在满二叉树情况下的编号,用于计算坐标;计算深度是x,满二叉树编号是y点的坐标。
- 2023-08-12 22:50:03下载
- 积分:1
-
msp430_modules
说明: A collection of C libraries for the TI MSP430 family of microcontrollers
dump from github.
- 2020-06-24 09:40:07下载
- 积分:1
-
步进电机位置环控制
/* 包含头文件 ----------------------------------------------------------------*/
#include "stm32f1xx_hal.h"
#include "StepMotor/bsp_STEPMOTOR.h"
#include "usart/bsp_debug_usart.h"
#include "EncoderTIM/bsp_EncoderTIM.h"
#include
#include
/* 私有类型定义 --------------------------------------------------------------*/
typedef struct
{
__IO float SetPoint; // 目标值 单位:mm
__IO int LastError; // 前一次误差
__IO int PrevError; // 前两次误差
__IO long SumError; // 累计误差
__IO double Proportion; // Kp系数
__IO double Integral; // Ki系数
__IO double Derivative; // Kd系数
}PID;
/* 私有宏定义 ----------------------------------------------------------------*/
#define TXDCYCLE 1000 // 数据发送周期;单位:ms
#define SAMPLING 0x01 // 采样标记
#define TXD 0x02 // 发送数据标记
#define MAX_SPEED 200
#define abs(x) ((x)= TXDCYCLE) // 1s
{
Time_Flag |= TXD;
time_count = 0;
}
}
- 2021-10-18 00:30:55下载
- 积分:1
-
3Leach
横重要的leach 协议哦对你有很大的帮助
(Oh cross important leach agreement)
- 2016-01-27 11:25:01下载
- 积分:1
-
表达式编译器,可编译任何简单表达式。如:(a=2)+3
表达式编译器,可编译任何简单表达式。如:(a=2)+3-5等-expression compiler can compile no simple formula. Such as : (a = 2), 3-5, etc.
- 2023-08-24 02:10:03下载
- 积分:1
-
Proteus_PWM_Boost_circuit
proteus仿真,以LPC2138芯片为核心生成PWM波,控制升压斩波电路(PWM),实现稳定的高电压输出。包含AD转换、串口通信。(proteus simulation. This design use PWM wave generated by LPC2138 to control boost circuit and realized a steady high voltage output. ADC and serial port communication are involved in the design.)
- 2021-04-06 23:19:02下载
- 积分:1