资源简介

1、本程序使用STM8S103K3型号,通过IAR编程软件使用库函数进行程序的编写。 2、程序采用模块化设计思路,每一个模块都有文字说明,便于阅读和理解。

资源截图

代码片段和文件信息


#include “include.h“

const u16 xiyouji[]={ 400
M3B21M6B21H1B21H2B32H1B12M7B41M3B41L6B11L3B12L6B12L3B12M1B12L6B12M1B12L6B11L3B12L6B12L3B12M1B12L6B12M1B12
L6B12M1B11L6B12M3B32M2B12M2B12M1B32M1B21L7B12L6B11L7B12M2B32M3B12M1B12L6B32L6B21M3B21M6B32M3B12M6B11M5B12M4B12M3B21
M1B32M2B12M3B11M4B12M3B12M2B41L6B11M3B11M2B12M3B12L6B32M1B31M3B11M2B12L7B12STB12M3B12M2B12L6B12M1B12M2B12M3B41
M3B21M6B32M3B12M6B11M5B12M4B12M3B21M5B12M2B12STB12M4B12M3B12M2B12M1B11M2B31M3B11M2B12L7B12STB12M3B12L7B12L6B12L5B12L6B31M3B11
M5B31M3B12M5B12M6B32H1B12M7B12M6B12M5B11M6B41H1B21M7B32M6B12M6B11M5B21M5B12M6B12M3B41
H1B21M7B32M6B12M6B11M5B21M5B12M6B12M3B41L6B12M1B11M2B12M3B32M1B12M3B11M2B31M2B12L7B12STB12M3B12L7B12L6B12L5B12
L6B41L6B12M1B11M2B12M3B32M1B12M3B11M2B31M3B11M5B21M3B11M7B32H1B12M7B12M6B12M5B11M6B41M6B31STB11
0xff 
            };
const u16 tuerqijinxingqu[]={ 400
M7B14M6B14M5JB14M6B14  H1B12STB12H2B14H1B14M7B14H1B14H3B12STB12H4B14H3B14H2JB14H3B14H7B14H6B14H5JB14H6B14H7B14H6B14H5B14H6B14H1*2B11H6B12H1*2B12H7B12H6B12H5B12H6B12
H7B12H6B12H5B12H6B12H7B12H6B12H5B12H4JB12  H3B11M7B14M6B14M5JB14M6B14  
                               H1B12STB12H2B14H1B14M7B14H1B14H3B12STB12H4B14H3B14H2JB14H3B14H7B14H6B14H5JB14H6B14H7B14H6B14H5B14H6B14H1*2B11H6B12H1*2B12H7B12H6B12H5B12H6B12
H7B12H6B12H5B12H6B12H7B12H6B12H5B12H4JB12  H3B11H3B12H4B12  H5B12H5B12H6B14H5B14H4B14H3B14H2B11H3B12H4B12
H5B12H5B12H6B14H5B14H4B14H3B14H2B11H1B12H2B12H3B12H3B12H4B14H3B14H2B14H1B14M7B11H1B12H2B12H3B12H3B12H4B14H3B14H2B14H1B14M7B11M7B14M6B14M5JB14M6B14
H1B12STB12H2B14H1B14M7B14H1B14H3B12STB12H4B14H3B14H2JB14H3B14H7B14H6B14H5JB14H6B14H7B14H6B14H5B14H6B14H1*2B11H6B12H7B12H1*2B12H7B12H6B12H5JB12H6B12H3B12H4B12H2B12
H1B11M7B34M6B18M7B18M6B11H3B12H4B12                                 H5B12H5B12H6B14H5B14H4B14H3B14H2B11H3B12H4B12
H5B12H5B12H6B14H5B14H4B14H3B14H2B11H1B12H2B12H3B12H3B12H4B14H3B14H2B14H1B14M7B11H1B12H2B12H3B12H3B12H4B14H3B14H2B14H1B14M7B11M7B14M6B14M5JB14M6B14
H1B12STB12H2B14H1B14M7B14H1B14H3B12STB12H4B14H3B14H2JB14H3B14H7B14H6B14H5JB14H6B14H7B14H6B14H5B14H6B14H1*2B11H6B12H7B12H1*2B12H7B12H6B12H5JB12H6B12H3B12H4B12H2B12
H1B11M7B34M6B18M7B18M6B11H1B12H2B12   H3B11H1B12H2B12H3B12H2B12H1B12M7B12M6B12M7B12H1

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      10982  2014-10-26 20:44  蜂鸣器演奏音乐\Backup of Demo.ewd

     文件      43047  2014-10-27 21:02  蜂鸣器演奏音乐\Backup of Demo.ewp

     文件       9255  2015-12-22 16:20  蜂鸣器演奏音乐\Debug\Exe\Demo.hex

     文件      73172  2015-12-22 16:20  蜂鸣器演奏音乐\Debug\Exe\Demo.out

     文件       5240  2014-10-26 21:55  蜂鸣器演奏音乐\Debug\Obj\cco.o

     文件       9792  2015-12-22 14:08  蜂鸣器演奏音乐\Debug\Obj\clock.o

     文件     312417  2015-12-22 14:08  蜂鸣器演奏音乐\Debug\Obj\clock.pbi

     文件      10285  2015-12-22 14:08  蜂鸣器演奏音乐\Debug\Obj\clock.pbi.cout

     文件     415964  2015-12-23 08:38  蜂鸣器演奏音乐\Debug\Obj\Demo.pbd

     文件     415964  2015-12-23 08:38  蜂鸣器演奏音乐\Debug\Obj\Demo.pbd.browse

     文件       4801  2014-10-27 20:55  蜂鸣器演奏音乐\Debug\Obj\exti.o

     文件       7077  2014-10-26 20:48  蜂鸣器演奏音乐\Debug\Obj\key.o

     文件      10283  2015-12-21 15:36  蜂鸣器演奏音乐\Debug\Obj\led.pbi.cout

     文件       7907  2015-12-23 08:34  蜂鸣器演奏音乐\Debug\Obj\main.o

     文件     336865  2015-12-23 08:38  蜂鸣器演奏音乐\Debug\Obj\main.pbi

     文件      10277  2015-12-23 08:38  蜂鸣器演奏音乐\Debug\Obj\main.pbi.cout

     文件      13910  2015-12-22 14:08  蜂鸣器演奏音乐\Debug\Obj\music.o

     文件     312893  2015-12-22 14:08  蜂鸣器演奏音乐\Debug\Obj\music.pbi

     文件      10285  2015-12-22 14:08  蜂鸣器演奏音乐\Debug\Obj\music.pbi.cout

     文件      10283  2015-12-21 15:36  蜂鸣器演奏音乐\Debug\Obj\pwm.pbi.cout

     文件      47599  2015-12-21 19:21  蜂鸣器演奏音乐\Debug\Obj\stm8s_clk.o

     文件     320509  2015-12-21 19:21  蜂鸣器演奏音乐\Debug\Obj\stm8s_clk.pbi

     文件      10309  2015-12-21 19:21  蜂鸣器演奏音乐\Debug\Obj\stm8s_clk.pbi.cout

     文件      12527  2014-10-26 21:48  蜂鸣器演奏音乐\Debug\Obj\stm8s_exti.o

     文件      39758  2015-12-21 19:21  蜂鸣器演奏音乐\Debug\Obj\stm8s_flash.o

     文件     317388  2015-12-21 19:21  蜂鸣器演奏音乐\Debug\Obj\stm8s_flash.pbi

     文件      10311  2015-12-21 19:21  蜂鸣器演奏音乐\Debug\Obj\stm8s_flash.pbi.cout

     文件      20571  2015-12-21 19:21  蜂鸣器演奏音乐\Debug\Obj\stm8s_gpio.o

     文件     307871  2015-12-21 19:21  蜂鸣器演奏音乐\Debug\Obj\stm8s_gpio.pbi

     文件      10310  2015-12-21 19:21  蜂鸣器演奏音乐\Debug\Obj\stm8s_gpio.pbi.cout

............此处省略143个文件信息

评论

共有 条评论