在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → IAR库函数STM8S003读取红外遥控接收码,支持连发码读取

IAR库函数STM8S003读取红外遥控接收码,支持连发码读取

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:5.72M
  • 下载次数:11
  • 浏览次数:243
  • 发布时间:2021-11-15
  • 实例类别:一般编程问题
  • 发 布 人:js2021
  • 文件格式:.rar
  • 所需积分:2
 

实例介绍

【实例简介】
IAR环境库函数实现STM8S003最小系统上,用PC7口作为红外遥控头接收端,红外遥控头为VS1838B,实现红外遥控器按键编码读取,并通过定时器统计按键按下的时长,支持连发码重复码的读取,并将读取的结果通过串口打印出来。
【实例截图】
【核心代码】
4744300845374762176.rar
└── STM8S_IR_Remote1
├── App
│   ├── main.c
│   ├── main.c.orig
│   ├── stm8s_conf.h
│   ├── stm8s_it.c
│   └── stm8s_it.h
├── Bsp
│   ├── bsp.c
│   ├── bsp.h
│   ├── delay.c
│   ├── delay.h
│   ├── ir_remote.c
│   ├── ir_remote.h
│   ├── led.c
│   ├── led.h
│   ├── timer4_it.c
│   ├── timer4_it.h
│   ├── uart1.c
│   └── uart1.h
├── BuildLog.log
├── Debug
│   ├── Exe
│   │   ├── ir_remote.hex
│   │   └── ir_remote.out
│   ├── List
│   │   └── ir_remote.map
│   └── Obj
│   ├── bsp.o
│   ├── bsp.pbi
│   ├── bsp.pbi.xcl
│   ├── delay.o
│   ├── delay.pbi
│   ├── delay.pbi.xcl
│   ├── ir_remote.o
│   ├── ir_remote.pbd
│   ├── ir_remote.pbd.browse
│   ├── ir_remote.pbd.linf
│   ├── ir_remote.pbi
│   ├── ir_remote.pbi.xcl
│   ├── led.o
│   ├── led.pbi
│   ├── led.pbi.xcl
│   ├── main.o
│   ├── main.pbi
│   ├── main.pbi.xcl
│   ├── stm8s_clk.o
│   ├── stm8s_clk.pbi
│   ├── stm8s_clk.pbi.xcl
│   ├── stm8s_gpio.o
│   ├── stm8s_gpio.pbi
│   ├── stm8s_gpio.pbi.xcl
│   ├── stm8s_it.o
│   ├── stm8s_it.pbi
│   ├── stm8s_it.pbi.xcl
│   ├── stm8s_tim1.o
│   ├── stm8s_tim1.pbi
│   ├── stm8s_tim1.pbi.xcl
│   ├── stm8s_tim2.o
│   ├── stm8s_tim2.pbi
│   ├── stm8s_tim2.pbi.xcl
│   ├── stm8s_tim4.o
│   ├── stm8s_tim4.pbi
│   ├── stm8s_tim4.pbi.xcl
│   ├── stm8s_uart1.o
│   ├── stm8s_uart1.pbi
│   ├── stm8s_uart1.pbi.xcl
│   ├── timer4_it.o
│   ├── timer4_it.pbi
│   ├── timer4_it.pbi.xcl
│   ├── uart1.o
│   ├── uart1.pbi
│   └── uart1.pbi.xcl
├── Doc
│   ├── ReadMe.txt
│   └── stm8s-a_stdperiph_drivers_um.chm
├── ir_remote.dep
├── ir_remote.ewd
├── ir_remote.ewp
├── ir_remote.eww
├── ir_remote.sublime-workspace
├── Libraries
│   └── STM8S_StdPeriph_Driver
│   ├── inc
│   │   ├── stm8s_adc1.h
│   │   ├── stm8s_adc2.h
│   │   ├── stm8s_awu.h
│   │   ├── stm8s_beep.h
│   │   ├── stm8s_can.h
│   │   ├── stm8s_clk.h
│   │   ├── stm8s_exti.h
│   │   ├── stm8s_flash.h
│   │   ├── stm8s_gpio.h
│   │   ├── stm8s.h
│   │   ├── stm8s_i2c.h
│   │   ├── stm8s_itc.h
│   │   ├── stm8s_iwdg.h
│   │   ├── stm8s_rst.h
│   │   ├── stm8s_spi.h
│   │   ├── stm8s_tim1.h
│   │   ├── stm8s_tim2.h
│   │   ├── stm8s_tim3.h
│   │   ├── stm8s_tim4.h
│   │   ├── stm8s_tim5.h
│   │   ├── stm8s_tim6.h
│   │   ├── stm8s_uart1.h
│   │   ├── stm8s_uart2.h
│   │   ├── stm8s_uart3.h
│   │   ├── stm8s_uart4.h
│   │   └── stm8s_wwdg.h
│   └── src
│   ├── stm8s_adc1.c
│   ├── stm8s_adc2.c
│   ├── stm8s_awu.c
│   ├── stm8s_beep.c
│   ├── stm8s_can.c
│   ├── stm8s_clk.c
│   ├── stm8s_exti.c
│   ├── stm8s_flash.c
│   ├── stm8s_gpio.c
│   ├── stm8s_i2c.c
│   ├── stm8s_itc.c
│   ├── stm8s_iwdg.c
│   ├── stm8s_rst.c
│   ├── stm8s_spi.c
│   ├── stm8s_tim1.c
│   ├── stm8s_tim2.c
│   ├── stm8s_tim3.c
│   ├── stm8s_tim4.c
│   ├── stm8s_tim5.c
│   ├── stm8s_tim6.c
│   ├── stm8s_uart1.c
│   ├── stm8s_uart2.c
│   ├── stm8s_uart3.c
│   ├── stm8s_uart4.c
│   └── stm8s_wwdg.c
└── settings
├── ADC.Debug.cspy.bat
├── awu.Debug.cspy.bat
├── capture.Debug.cspy.bat
├── capture.reggroups
├── eeprom.Debug.cspy.bat
├── exti.Debug.cspy.bat
├── flash.Debug.cspy.bat
├── iic.Debug.cspy.bat
├── ir_remote.dbgdt
├── ir_remote.Debug.cspy.bat
├── ir_remote.Debug.cspy.ps1
├── ir_remote.Debug.driver.xcl
├── ir_remote.Debug.general.xcl
├── ir_remote.dnx
├── ir_remote.wsdt
├── iwdg.Debug.cspy.bat
├── KEY.Debug.cspy.bat
├── tim1_pwm.Debug.cspy.bat
├── TIM.Debug.cspy.bat
├── UART.Debug.cspy.bat
└── wwdg.Debug.cspy.bat

13 directories, 145 files

标签:

实例下载地址

IAR库函数STM8S003读取红外遥控接收码,支持连发码读取

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警