登录
首页 » c » ZigBee点灯实验

ZigBee点灯实验

于 2023-04-23 发布 文件大小:2.20 MB
0 128
下载积分: 2 下载次数: 1

代码说明:

 #include  #include  #include  #include  #include  #include   #include "hal_mcu.h"  #include "hal_button.h"  #include "hal_rf.h"  #include "util_lcd.h"  #include "basic_rf.h"   CONSTANTS  //  Application parameters  #define RF_CHANNEL                25      // 2.4 GHz RF channel  // BasicRF address definitions  #define PAN_ID             0x2007  #define SWITCH_ADDR           0x2520  #define LIGHT_ADDR       0xBEEF  #define APP_PAYLOAD_LENGTH       1  #define LIGHT_TOGGLE_CMD         &nbs

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • scull
    基于跟新后的linux内核的scull驱动代码及详解(Based on post with the new linux kernel driver code and Detailed scull)
    2015-03-24 21:15:40下载
    积分:1
  • 5845688suanfayanjiu
    基于扫描地形图的几何纠正算法研究。主要讲解了关于倾斜的数字图像的处理问题。(Scanned topographic maps based on the geometric correction algorithm. Mainly on the inclination to explain the deal with the issue of digital images.)
    2008-03-01 21:15:43下载
    积分:1
  • 一个下拉框,能显示本机所有驱动器,还包括软驱,光驱,用C#编写....
    一个下拉框,能显示本机所有驱动器,还包括软驱,光驱,用C#编写.-a drop-down box, the machine can show all drives, including floppy drive, optical drive, using C#.
    2023-02-03 02:35:04下载
    积分:1
  • studentDB_ODBC
    VC++连接ODBC的典型例子,实现是一个简单的学生信息增删改,查看记录,非常适合连接ODBC连接数据库的入门案例(VC++ Connect ODBC typical example of implementation is a simple CRUD student information, view records, ideal for connecting ODBC database connectivity introductory Case)
    2013-07-04 00:26:10下载
    积分:1
  • 2855435
    美化应用程序的外观界面本程序主要面向对话框()
    2018-04-29 06:03:17下载
    积分:1
  • STM32F103
    关于STM32F103ZE的学习例程,有助于你熟悉熟练掌握STM32的外设资源,STM32F103ZE系列单片机是一个COrtexM3系列的一款高性能的单片机芯片
    2022-01-24 16:34:14下载
    积分:1
  • template.cpp
    an example c++ source code on how template is used
    2014-01-01 23:18:40下载
    积分:1
  • TFT-SD卡应用程序
    基于51单片机SD卡读取存储并在液晶屏上显示
    2022-05-09 01:38:20下载
    积分:1
  • KMEANS
    This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen. Usage for KMEANS is: KMEANS SOURCEFILE <enter> The format of the source file is: NPat - Number of patterns (int) SizeVect - Size of vector (int) NClust - Number of cluster centers(int) vect[1,1] ... vect[1,SizeVect] - vector 1 (real) vect[2,1] ... vect[2,SizeVect] - vector 2 (real) . . . . . . vect[NPat,1] ... vect[NClust,SizeVector] - vector N (real) To compile: ICC KMEANS.CPP <enter> (This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen. Usage for KMEANS is: KMEANS SOURCEFILE <enter> The format of the source file is: NPat - Number of patterns (int) SizeVect - Size of vector (int) NClust - Number of cluster centers(int) vect[1,1] ... vect[1,SizeVect] - vector 1 (real) vect[2,1] ... vect[2,SizeVect] - vector 2 (real) . . . . . . vect[NPat,1] ... vect[NClust,SizeVector]- vector N (real) To compile: ICC KMEANS.CPP <enter> )
    2013-01-05 23:11:23下载
    积分:1
  • Stm8_Driver_BQ24295
    用于STM8系列芯片的BQ24295芯片驱动代码,用于控制单节锂电池的充放电管理,使用了“STM8S_StdPeriph_Lib_V2.2.0”库函数用于IO配置,使用了虚拟I2C和虚拟SPI端口控制(code be used to drive bq24295 on stm8, can control one li-on battery charge and discharge, the code based on "STM8S_StdPeriph_Lib_V2.2.0" library(for config the IO), based on virtual spi and i2c.)
    2020-07-23 17:28:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载