文件名称:ExamGpiod5
介绍说明--下载内容均来自于网络,请自行研究使用
蜂鸣器实验
本实验演示GPIO 驱动蜂鸣器的实例。
(1)点击“CCS”,启动Code Composer Studio 开发环境
(2)点击【project】 【Open…】打开“BELL”文件夹下的“GPIO.PJT”。
(3)重新编译完毕。
(4)点击【File】 【Load Program…】,选择“BELL”文件夹下的“DEBUG”中的
“GPIO.OUT”文件,点击【打开】。
(5)将蜂鸣器旁边的23J0 两针跳线座短路。点击【Debug】 【Run】或左侧快捷键
图标,全速运行。即可听到蜂鸣器发出“嘟嘟”的声音。
注:如果发现程序不能正确运行或程序跑飞,可点击CCS 中【Debug】 【Reset CPU】,
然后重新Load 程序。如果还是不能正确运行或程序跑飞,可给学习板和仿真器重新上电。-Buzzer experiments
This experiment demonstrates GPIO driver buzzer instance.
(1) click on the "CCS", start the Code Composer Studio development environment
(2) Click on the [project] [Open ...] to open the BELL "file folder" GPIO.PJT.
(3) re-compile is completed.
(4) Click [File] [the Load the Program, select the BELL "folder under the" DEBUG "
"GPIO.OUT file, click [open].
(5) the buzzer next to 23J0 two-pin jumper seat short circuit. Click [Debug] , [Run] or the left side of keyboard shortcuts
Icon, and run at full speed. You can hear the buzzer "beep" sound.
Note: If the discovery process can not run correctly or the program running, you can visit the CCS [Debug] [Reset CPU]
And then re-Load program. If you still can not run correctly or the program running, re-power on to learn board and emulator.
本实验演示GPIO 驱动蜂鸣器的实例。
(1)点击“CCS”,启动Code Composer Studio 开发环境
(2)点击【project】 【Open…】打开“BELL”文件夹下的“GPIO.PJT”。
(3)重新编译完毕。
(4)点击【File】 【Load Program…】,选择“BELL”文件夹下的“DEBUG”中的
“GPIO.OUT”文件,点击【打开】。
(5)将蜂鸣器旁边的23J0 两针跳线座短路。点击【Debug】 【Run】或左侧快捷键
图标,全速运行。即可听到蜂鸣器发出“嘟嘟”的声音。
注:如果发现程序不能正确运行或程序跑飞,可点击CCS 中【Debug】 【Reset CPU】,
然后重新Load 程序。如果还是不能正确运行或程序跑飞,可给学习板和仿真器重新上电。-Buzzer experiments
This experiment demonstrates GPIO driver buzzer instance.
(1) click on the "CCS", start the Code Composer Studio development environment
(2) Click on the [project] [Open ...] to open the BELL "file folder" GPIO.PJT.
(3) re-compile is completed.
(4) Click [File] [the Load the Program, select the BELL "folder under the" DEBUG "
"GPIO.OUT file, click [open].
(5) the buzzer next to 23J0 two-pin jumper seat short circuit. Click [Debug] , [Run] or the left side of keyboard shortcuts
Icon, and run at full speed. You can hear the buzzer "beep" sound.
Note: If the discovery process can not run correctly or the program running, you can visit the CCS [Debug] [Reset CPU]
And then re-Load program. If you still can not run correctly or the program running, re-power on to learn board and emulator.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ExamGpiod5.c