资源列表
DE2_Default
- DE2在板测试代码,用于测试DE2板子的正常性能(DE2 on-board testing code)
SPL_2.2.0_SDCC_patch-master
- SPL 2.2.0 patches for SDCC compiler
en.stm8l-discovery_temp-sensor_example
- STM8L Temperature Sensor Examples
STM32开发指南V1.0+库函数版本
- stm32开发者指南,使用STM32库函数实例讲解(The STM32 Developer Guide uses the STM32 library function example to explain)
Uart
- 基于STM8S单片机的UART串口通讯实例(UART serial communication example based on STM8S microcontroller)
plusewidth(time_prescaler)
- STM32F103VE芯片,可以实现两个端口测量脉冲的频率以及占空比,为了防止溢出,将其进行了分频处理,可以测量出50Hz左右的脉冲,如果频率过大,则精确度会下降,需要重新更改分频数,程序中不包含输出部分,需要自己添加输出程序,建议直接读取TIM3_CCR2,TIM3_CCR1寄存器的值,然后自己进行转化。程序里面有大概的转换方法,但数值上并不合适,需要进行修改。(STM32F103VE chip, can achieve two port measurement of pulse freque
BJDJ.X
- 步进电机驱动 可正反转 加减速 启动前加速停止前减速(Stepper motor drive can be positive, reverse, acceleration and deceleration)
LSD.X
- LCD1602 控制字符 左移右移 换行等等 用PIC18f4520芯片控制(LCD1602 control characters move left, right, line feed and so on, controlled by PIC18f4520 chip)
AD转换
- 模数转换包括采样、保持、量化和编码四个过程。是将连续的模拟量(如象元的灰阶、电压、电流等)通过取样转换成离散的数字量(Analog to digital conversion involves sampling, holding, quantizing, and encoding four processes. Is the continuous analog (gray scale, such as voltage and current element etc.) is converted
串口调试
- 串即串行的意思,是指数据在一根数据线上按照二进制数的数位一位接一位的传输,例如要传输一个字节的数据10110010,先将最低位的0通过数据线传送过去,然后是下一位的1(两次传送时间间隔很小),依次将8位数据(1字节)传送过去。(On a serial of meaning, refers to the data in a data line in accordance with the binary digital one by one transmission, such as to tran
LCD显示字符
- 当通电时导通,排列变得有秩序,使光线容易通过;不通电时排列混乱,阻止光线通过。让液晶如闸门般地阻隔或让光线穿透(When energized, the conduction is arranged in an orderly manner so that the light passes easily; when the power is not electrified, the arrangement is confused and prevents light from passing th
交通灯
- 熙熙攘攘的街头,人流车水有条不紊地行进着,靠的是交通灯的指挥作用,交通灯的绿、红、黄灯交替工作着,指挥着交通,维持着秩序。 课程设计采用单片机AT89C51为中心器件来设计交通灯,从而模拟十字路*通灯的各种状态显示。设计由单片机AT89C51,LED八位数码显示管等组成。软件上采用C语言编程实现。主要编写了主程序,数码管显示程序和延时程序,经模拟,实现交通灯的功能。操作简单,设计简单易懂,但由于采用的是纯延时,因此会有一定的误差,但不影响总体效果。 在遇紧急情