实例介绍
本例子是个点对点测试程序,可以测试两个节点通过无线收发数据,并测试通信质量。 使用:只需要将程序分别烧写如两个节点中,就可以通过按键和液晶显示进项交互操作。 左右键是选择菜单,中心键是确认。只需将两个设备一个设置为Device1,一个设置为Device2,然后进行确认就可以看到两个数据相互发送的信号质量。
【实例截图】
【核心代码】
4744302543359983327.rar
└── Light_Switch
├── IDE
│ └── Light_Switch
│ └── srf05_cc2530
│ └── Iar
│ ├── Light_Switch.dep
│ ├── Light_Switch.ewp
│ ├── Light_Switch.eww
│ ├── per_to_per
│ │ ├── Exe
│ │ │ └── Light_Switch.d51
│ │ ├── List
│ │ │ └── Light_Switch.map
│ │ └── Obj
│ │ ├── adc.r51
│ │ ├── basic_rf.r51
│ │ ├── basic_rf_security.r51
│ │ ├── clock.r51
│ │ ├── Font.r51
│ │ ├── hal_adc.r51
│ │ ├── hal_assert.r51
│ │ ├── hal_board.r51
│ │ ├── hal_button.r51
│ │ ├── hal_digio.r51
│ │ ├── hal_int.r51
│ │ ├── hal_joystick.r51
│ │ ├── hal_key.r51
│ │ ├── hal_lcd.r51
│ │ ├── hal_led.r51
│ │ ├── hal_mcu.r51
│ │ ├── hal_rf.r51
│ │ ├── hal_rf_security.r51
│ │ ├── LcdDisp.r51
│ │ ├── Light_Switch.pbd
│ │ ├── light_switch.r51
│ │ ├── ugOled9616.r51
│ │ ├── util_buffer.r51
│ │ └── util.r51
│ └── settings
│ ├── Light_Switch.cspy.bat
│ ├── Light_Switch.dbgdt
│ ├── Light_Switch.dni
│ └── Light_Switch.wsdt
├── readme.txt
└── source
├── apps
│ ├── light_switch
│ │ └── light_switch.c
│ └── per_to_per
│ └── per_to_per.c
└── Components
├── assembly
│ ├── assy_ccmsp2618_cc2420em.c
│ ├── assy_ccmsp2618_cc2420em.h
│ ├── assy_ccmsp2618_cc2520em.c
│ ├── assy_ccmsp2618_cc2520em.h
│ ├── assy_exp4618_cc2420em.c
│ └── assy_exp4618_cc2420em.h
├── basicrf
│ ├── basic_rf.c
│ ├── basic_rf.h
│ ├── basic_rf_security.c
│ └── basic_rf_security.h
├── common
│ ├── cc8051
│ │ └── hal_cc8051.h
│ ├── hal_defs.h
│ ├── hal_int.c
│ ├── hal_types.h
│ └── msp430
│ └── hal_msp430.h
├── radios
│ ├── cc2420
│ │ ├── hal_cc2420.c
│ │ ├── hal_cc2420.h
│ │ ├── hal_rf.c
│ │ └── hal_rf_security.c
│ ├── cc2430
│ │ ├── adc.c
│ │ ├── adc.h
│ │ ├── clock.c
│ │ ├── clock.h
│ │ ├── hal_mcu.c
│ │ ├── hal_rf.c
│ │ └── hal_rf_security.c
│ ├── cc2520
│ │ ├── hal_cc2520.c
│ │ ├── hal_cc2520.h
│ │ ├── hal_rf.c
│ │ └── hal_rf_security.c
│ └── cc2530
│ ├── adc.c
│ ├── adc.h
│ ├── clock.c
│ ├── clock.h
│ ├── hal_mcu.c
│ ├── hal_rf.c
│ └── hal_rf_security.c
├── targets
│ ├── common
│ │ ├── hal_lcd_srf04.c
│ │ └── hal_lcd_srf05.c
│ ├── exp430fg4618
│ │ ├── hal_assert.c
│ │ ├── hal_board.c
│ │ ├── hal_board.h
│ │ ├── hal_button.c
│ │ ├── hal_digio.c
│ │ ├── hal_joystick.c
│ │ ├── hal_lcd_sblcda4.c
│ │ ├── hal_led.c
│ │ └── hal_mcu.c
│ ├── interface
│ │ ├── hal_assert.h
│ │ ├── hal_button.h
│ │ ├── hal_digio.h
│ │ ├── hal_int.h
│ │ ├── hal_joystick.h
│ │ ├── hal_lcd.h
│ │ ├── hal_lcd_sblcda4.h
│ │ ├── hal_lcd_srf04.h
│ │ ├── hal_led.h
│ │ ├── hal_mcu.h
│ │ ├── hal_rf.h
│ │ └── hal_rf_security.h
│ ├── srf04_soc
│ │ ├── hal_assert.c
│ │ ├── hal_board.c
│ │ ├── hal_board.h
│ │ ├── hal_button.c
│ │ ├── hal_digio.c
│ │ ├── hal_joystick.c
│ │ └── hal_led.c
│ ├── srf05_ccmsp2618
│ │ ├── hal_assert.c
│ │ ├── hal_board.c
│ │ ├── hal_board.h
│ │ ├── hal_button.c
│ │ ├── hal_digio.c
│ │ ├── hal_joystick.c
│ │ ├── hal_lcd.c
│ │ ├── hal_led.c
│ │ └── hal_mcu.c
│ └── srf05_soc
│ ├── hal_assert.c
│ ├── hal_board.c
│ ├── hal_board.h
│ ├── hal_button.c
│ ├── hal_digio.c
│ ├── hal_joystick.c
│ └── hal_led.c
└── utils
├── Font.c
├── Font.h
├── hal_adc.c
├── hal_adc.h
├── hal_key.c
├── hal_key.h
├── hal_lcd0.c
├── hal_lcd.c
├── hal_lcd.h
├── hal_led.c
├── hal_led.h
├── LCD128_64.h
├── LcdDisp.c
├── LcdDisp.h
├── ugOled9616.c
├── ugOled9616.h
├── util_buffer.c
├── util_buffer.h
├── util.c
├── util.h
├── util_lcd.c
└── util_lcd.h
33 directories, 141 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论