登录
首页 » c » 基于STM32f407的PWM输出实验

基于STM32f407的PWM输出实验

于 2023-08-19 发布 文件大小:461.32 kB
0 200
下载积分: 2 下载次数: 1

代码说明:

本程序利用TIM14_CH1产生PWM来控制DS0亮度,DS0将从遵从暗-->亮--->暗-->亮的循环。我们将 led0pwmval 这个值设置为 PWM 比较值,也就 比较值,也就 比较值,也就 是通过 led0pwmval来控制 PWM 的占空比,然后控制 led0pwmval的值从 0变到 300 ,然后又 从 300 变到 0,如此 循环,因,如此 循环因,如此 循环因DS0 的亮度也会跟着 信号的占空比变化 从暗变到亮,然后又从 变到亮,然后又从 亮变到暗。至于这里的值,

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 万年历
    stm32,OLED模块显示温湿度,时间。(Stm32, OLED module shows temperature, humidity and time.)
    2020-06-20 07:40:01下载
    积分:1
  • 主程序
    说明:  本程序可实现基于51单片机的电子秤数据采集、滤波、显示功能。 称重范围:0-1000g 分辨率: 0.1g 测试精度:0.2g 设计架构:采用弹性悬臂梁贴应变片的传感器结构,应变片采用全桥连接。电桥输出经AD芯片发送给微处理器,微处理器经过数据处理后显示。(This program can realize the functions of data acquisition, filtering and display of electronic scale based on 51 single chip computer. Weighing range: 0-1000g Resolution: 0.1g Testing accuracy: 0.2g Design framework: The sensor structure of elastic cantilever beam with strain gauge is adopted, and the strain gauge is connected by full bridge. The output of the bridge is sent to the microprocessor by AD chip, and the microprocessor is displayed after data processing.)
    2019-05-12 13:14:29下载
    积分:1
  • TCPMP_wanmei
    说明:  wince视频播放器,它是万能的,但是只适应低分辩率的mp4(Wince Video Player, it is omnipotent, but only suitable for low resolution mp4)
    2020-06-16 02:40:02下载
    积分:1
  • 各种算法文档资料
    算法学习文档,贪心算法倍增算法位运算递归
    2020-12-09下载
    积分:1
  • STM32F103 RTS 源代码
    STM32F103 芯片下的  RTS C语言 源代码程序 。已经经过千百次验证
    2022-03-21 14:22:49下载
    积分:1
  • zbq
    斩波器调试工具,包括串口通讯、C#gridview功能实现(Chopper debugging tools, including the serial communication, the realization of C#gridview functions)
    2013-01-06 10:12:51下载
    积分:1
  • Boneyard
    IOS 简单的跳跃游戏,骨头跳跃动画,重玩逻辑(IOS simple jumping game)
    2012-10-27 11:41:58下载
    积分:1
  • FIFO-master
    This is a generic FIFO buffer that can be used to store any kind of items. It is written in C language and can be compiled and used on almost any architecture. It was designed to be used on memory limited architectures such as microcontrollers. Examples of the applications that can be built with this library include:
    2020-06-21 02:00:01下载
    积分:1
  • huochechexiangchongpai
    数据结构中比较难搞的算法之一------解决多列火车车厢的重排问题(Data structure, one of the more Nangao------ algorithm to solve multi-train cars Rearrangement Problem)
    2009-12-10 23:46:05下载
    积分:1
  • DirFile
    文件夹操作封装类,可方便使用。。。。。。。。(Folder operation wrapper class, you can easily use)
    2017-09-27 11:34:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载