登录
首页 » c » STM8 使用TIM1定时器产生PWM波形输出

STM8 使用TIM1定时器产生PWM波形输出

于 2022-03-16 发布 文件大小:1.10 MB
0 178
下载积分: 2 下载次数: 1

代码说明:

STM8 使用TIM1定时器产生PWM波形输出 通道1 2 3 4

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

发表评论

0 个回复

  • rscore
    数据标准化处理函数,输入待处理矩阵,参数dim默认或取1,对列进行标准化处理,dim取2对行处理(Standardized data processing functions, input matrix to be processed, the default parameters, or to take a dim, standardization of columns, dim to take two pairs of line processing)
    2011-09-28 18:46:32下载
    积分:1
  • ArcObjects
    ARCOBJECT 控件编程 对初学者很有帮助(Control programming)
    2014-12-17 15:38:04下载
    积分:1
  • LCD12864 PIC16f877a单片机控制的12864显示程序C语言
    LCD12864    PIC16f877a单片机控制的12864显示程序C语言    很详细
    2023-08-13 00:35:02下载
    积分:1
  • hex转bin的程序
    hex转bin的程序, 支持大于64K的hex, 网上下载的Hex2Bin不支持64k. 包含工程文件, 简单包装即可生成一个Hex2Bin的小程序【核心代码】                String szLine = "";                String szHex = "";                if (szHexPath == "")                {                    MessageBox.Show("请选择需要转换的目标文件!         ", "错误");                    return;                }                                StreamReader HexReader = new StreamReader(szHexPath);                                while (true)                {                    szLine = HexReader.ReadLine(); //读取一行数据                    if (szLine == null) //读完所有行                    {                        break;                    }                    if (szLine.Substring(0, 1) == ":") //判断第1字符是否是:                    {                        if (szLine.Substring(1, 8) == "00000001")//数据结束                        {                            break;                        }                        szHex = szLine.Substring(9, szLine.Length - 11); //读取有效字符                    }                }                HexReader.Close(); //关闭目标文件                Int32 i;                Int32 j = 0;                Int32 Length = szHex.Length;                byte[] szBin = new byte[Length];                pbConvert.Maximum = Length / 2;                for (i = 0; i < Length; i = 2) //两字符合并成一个16进制字节                {                    szBin[j] = (byte)Int16.Parse(szHex.Substring(i, 2), NumberStyles.HexNumber);                    j ;                    pbConvert.Increment(i);                                    }                if (szBinPath == "")                {                    szBinPath = Path.ChangeExtension(szHexPath, "bin");                    tbBinPath.Text = szBinPath;                }                FileStream fBin = new FileStream(szBinPath, FileMode.Create); //创建文件BIN文件                BinaryWriter BinWrite = new BinaryWriter(fBin); //二进制方式打开文件                BinWrite.Write(szBin, 0, Length); //写入数据                BinWrite.Flush();//释放缓存                BinWrite.Close();//关闭文件                MessageBox.Show("文件转换完成!        ", "提示");            }            catch (Exception ex)            {                MessageBox.Show(ex.ToString());            }
    2020-12-05下载
    积分:1
  • lightwater
    简单的流水灯程序,另外包括按键控制led灯程序,适合初学者(Simple water lights, led lights additionally includes key control procedures, suitable for beginners)
    2013-07-15 13:27:44下载
    积分:1
  • 51单片机TLC2543电压表
    基于51单片机的数字直流电压表相关材料,内容有原理图,仿真文件,论文材料,程序源码等。(The related materials of digital DC voltmeter based on 51 single chip computer include schematic simulation files, paper materials, program source code, etc.)
    2019-04-26 15:06:01下载
    积分:1
  • FDK-reconstruct
    通过vc2005编写的3D重建程序实现CT数据的三维重建过程,最终完成了重建。(Written by vc2005 3D reconstruction process, to achieve three-dimensional reconstruction of CT data)
    2016-07-12 11:39:57下载
    积分:1
  • modbus的实现代码
    ModBus网络是一个工业通信系统,由带智能终端的可编程序控制器和计算机通过公用线路或局部专用线路连接而成。其系统结构既包括硬件、亦包括软件。它可应用于各种数据采集和过程监控。
    2022-10-18 16:10:03下载
    积分:1
  • IMX6DQCEC
    IMX6DQCEC.PDF是用于飞思卡尔系列处理器进行开发的重要文档 可以让你更好地熟悉这款处理器 更好地进行开发(IMX6DQCEC.PDF is an important document for the development of the series processor, which allows you to better know the processor and develop better.)
    2015-08-12 10:05:22下载
    积分:1
  • cpdr-system
    中文印刷体文档识别系统,基于VC++系统实现,可以准确识别中文印刷体,识别率高。(Chinese printed document recognition system, based on VC++ system implementation, can accurately identify the Chinese printing, high recognition rate.)
    2021-01-23 08:08:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载