-
X-Element
x-element c source code
- 2011-08-29 04:56:09下载
- 积分:1
-
zuoye7
第k小元素(分治法) 给定一个线性序列集,要求求出其中指定的第K小的数的值和位置.如给定n个元素和一个整数i,1≤i≤n,输出这n个元素中第i小元素的值及其位置;(First k small element (divide and conquer) Given a set of linear sequence, where the specified requirements determined the K value and the small number of locations, such as a given n elements and an integer i, 1 ≤ i ≤ n, output this is the n elements of the i-th element value and the position of the small )
- 2013-11-16 11:51:31下载
- 积分:1
-
configfile
用于NBIOT模组M5310-A和M5310生成配置文件,用于使用AT指令登录OneNET平台(Generate configuration files for NBIOT modules M5310-A and M5310 to log on to OneNET platform using AT instructions)
- 2020-06-20 14:00:02下载
- 积分:1
-
directx12
说明: directx12 3d 游戏开发实战 源码(Directx12 3D game development actual combat source code)
- 2020-10-30 21:53:01下载
- 积分:1
-
小波变换检测图像模糊度
转自github上经典的小波变换检测模糊图像方法
- 2022-02-12 07:13:20下载
- 积分:1
-
stack1
data structur stack, implementation in C language
- 2014-12-30 17:36:23下载
- 积分:1
-
prime
判断数字是否是质数,很好用的,对于小学生来说!(Determine whether the number is a prime number, the good, is for students!)
- 2010-12-02 23:02:53下载
- 积分:1
-
SimpleBLEPeripheral协议栈 (蓝牙点灯)
1.添加特征值
我们添加一个1Byte的特征值来控制灯的亮灭
因为simpleGATTProfile是共用的文件,为了不影响其它工程,我们使用一个宏来控制新增加的属性
#if SIMPLEPROFILE_LED
#endif
(1)修改simpleGATTProfile.h
(2)添加UUID
//Characteristic 6 UUID:0xFFF6
(3)添加属性
// Simple Profile Characteristic 6 Properties
// Characteristic 6 Value
// Simple Profile Characteristic 6 User Description
(4)属性表
// Characteristic 6 Declaration
// Characteristic Value 6
// Characteristic 6 User Description
(5)属性设置操作
SimpleProfile_SetParameter
(6)属性获取操作
Get a Simple Profile parameter
(7)属性读操作
simpleProfile_ReadAttrCB
(8)属性写操作
simpleProfile_WriteAttrCB
2.Profile的改造完成后,我们将这个宏打开,配置工程。
3.接着我们在staticvoid simpleProfileChangeCB( uint8 paramID )函数的switch中加入CHAR6的判断即可
- 2022-12-28 01:00:05下载
- 积分:1
-
迪杰斯特拉与SPFA最短路径
Dijkstra最短路径算法与SPFA最短路径算法,使用邻接矩阵计算最短接,没有负权边/*从点0到点1的距离为21
- 2022-02-05 22:40:32下载
- 积分:1
-
MCB_SOR_1.0
说明: 基于固高运动控制卡的纯软件数控系统,非常适合数控系统的学习!(The CNC system based on movition card!)
- 2021-03-01 12:19:34下载
- 积分:1