资源简介
光敏只需读取与之相连IO口电平,来判断当前环境是亮还是暗。所以在协议栈增加光敏传感器检 测程序也比较简单,我们只需要配置好IO口,然后周期性检测、输出显示,上传给协调器即 可。
代码片段和文件信息
/**************************************************************************************************
Filename: hal_assert.c
Revised: $Date: 2010-11-22 08:13:43 -0800 (Mon 22 Nov 2010) $
Revision: $Revision: 24480 $
Description: Describe the purpose and contents of the file.
Copyright 2006-2010 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software his/her employer (which must be your employer)
and Texas Instruments Incorporated (the “License“). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use and you acknowledge that the Software may not be modified
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver which is integrated into your product. Other than for
the foregoing purpose you may not use reproduce copy prepare derivative
works of modify distribute perform display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED 揂S IS?WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS OR IMPLIED
INCLUDING WITHOUT LIMITATION ANY WARRANTY OF MERCHANTABILITY title
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT
NEGLIGENCE STRICT LIABILITY CONTRIBUTION BREACH OF WARRANTY OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL SPECIAL INDIRECT PUNITIVE
OR CONSEQUENTIAL DAMAGES LOST PROFITS OR LOST DATA COST OF PROCUREMENT
OF SUBSTITUTE GOODS TECHNOLOGY SERVICES OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF) OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/* ------------------------------------------------------------------------------------------------
* Includes
* ------------------------------------------------------------------------------------------------
*/
#include “hal_assert.h“
#include “hal_types.h“
#include “hal_board.h“
#include “hal_defs.h“
#include “hal_mcu.h“
#if (defined HAL_MCU_AVR) || (defined HAL_MCU_CC2430) || (defined HAL_MCU_CC2530) || \
(defined HAL_MCU_CC2533) || (defined HAL_MCU_MSP430)
/* for access to debug data */
#include “mac_rx.h“
#include “mac_tx.h“
#endif
/* -------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 616970 2018-05-07 17:55 4.光敏传感器\4.光敏传感器.pdf
文件 9887 2010-11-22 09:13 4.光敏传感器\ZStack-2.5.1a\Components\hal\common\hal_assert.c
文件 9560 2010-10-05 11:47 4.光敏传感器\ZStack-2.5.1a\Components\hal\common\hal_drivers.c
文件 6175 2010-02-25 16:22 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_adc.h
文件 5478 2009-02-16 19:03 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_assert.h
文件 28 2006-11-01 12:24 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_board.h
文件 2790 2008-10-07 16:36 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_ccm.h
文件 4969 2008-10-07 14:47 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_defs.h
文件 4789 2010-10-05 11:47 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_drivers.h
文件 4964 2010-04-09 15:22 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_flash.h
文件 5809 2007-11-01 08:43 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_key.h
文件 7223 2015-10-05 10:16 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_lcd.h
文件 4288 2007-11-01 08:43 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_led.h
文件 3279 2012-03-02 16:52 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_sleep.h
文件 8980 2010-06-02 10:40 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_timer.h
文件 7987 2009-03-09 05:27 4.光敏传感器\ZStack-2.5.1a\Components\hal\include\hal_uart.h
文件 9144 2010-03-12 17:10 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_adc.c
文件 5185 2010-01-08 14:24 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_aes.h
文件 20999 2015-10-05 23:42 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_board_cfg.h
文件 5541 2010-07-21 16:20 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_dma.c
文件 12798 2011-05-31 11:57 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_dma.h
文件 6704 2010-10-07 02:19 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_flash.c
文件 19104 2014-03-05 10:19 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_key.c
文件 41482 2018-05-07 22:04 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_lcd.c
文件 16761 2012-02-14 13:43 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_led.c
文件 3115 2010-04-12 09:38 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_mac_cfg.h
文件 9043 2012-03-29 12:09 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_mcu.h
文件 17167 2010-07-08 18:39 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_oad.c
文件 5360 2010-02-25 13:33 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_oad.h
文件 15352 2010-11-18 09:22 4.光敏传感器\ZStack-2.5.1a\Components\hal\target\CC2530EB\hal_ota.c
............此处省略960个文件信息
相关资源
- STM32与ZigBee串口通信LCD显示程序
- ZigBee系统+Gprs+Onenet
- ZStack协议栈 ZStack-CC2530-2.5.1a
- Z-Stack-Mesh-1.0.0,是TI德州仪器发布的基
- Zigbee Sensor Monitor
- 基于ZigBee的果园红外报警系统code
- DS18b20温度传感器协调器终端zigbee程序
- 基于zigbee烟雾监测系统工程文件
- 物联网无线传感网络实验手册-ZigBee
- 智能大棚Zigbee项目源码
- 基于CC2530的BH1750采集,使用协议栈组
- ZigBee CC2530从入门到精通全套学习资料
- ZigbeeCC2530 采集温度、获取信号强度、
- ubiqua-pa抓包工具
- ZigBee上位机程序带源码
- zigbee sensor monitordemo
- 基于Zigbee技术的无线网络系统的建模
- zigbee3.0标准介绍
- ZigBee定位 串口读取RSSI值并计算出距
- CC2530协议栈rssi实现测距
- 无人船控制系统设计
- 物联网课程设计—Zigbee智能家居、宿
- CC2530协议栈连接RFID模块
- zstack 2.5.1a 协议栈
- CC2530原理图和PCB(Protel设计)以及开
- 官方协议栈实验
- zigbee读取传感器组网上传服务器
- 基于ZigBee模块的温湿度,土壤水分,
- cc2530寄存器手册中文
- 野火STM32F10X例程源码_ZigBee.rar
评论
共有 条评论