代码搜索结果
找到约 242 项符合
BLE 的代码
parallelpro.h
// ParallelPro.h: interface for the CParallelPro class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PARALLELPRO_H__302E2FBD_2828_44E3_AE8D_0B201DA7F
parallelpro.h
// ParallelPro.h: interface for the CParallelPro class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PARALLELPRO_H__302E2FBD_2828_44E3_AE8D_0B201DA7F
parallelpro.h
// ParallelPro.h: interface for the CParallelPro class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PARALLELPRO_H__302E2FBD_2828_44E3_AE8D_0B201DA7F
fltpr.s
/ C library-- floating output
.globl pfloat
.globl pscien
.globl fltused
.globl _ndigit
.globl ecvt
.globl fcvt
fltused: / force loading
pfloat:
mov r0,_ndigit
tst r2
bne 1f
mov $6,_ndigit
1:
b.cgs
# arm testcase for b$cond $offset24
# mach: all
# ??? Still need to test edge cases.
.include "testutils.inc"
start
.global b
b:
# b foo
b balways1
fail
balways1:
# beq foo
mvi_h_gr r4,4
auto_self.c
#include "global.h"
uint ble_r; //红光基线值
uint ble_ir; //红外基线值
uint HH_ir; //红外参考阈值
uchar f_ble=0,f_a=0;
uint f_n=0;
uint dif_ir;
uchar e=0;
uint dd1_ir;
uint np=0,nk=0;
ulong s01_
cxwdiaoru.cpp
// Cxwdiaoru.cpp : implementation file
//
#include "stdafx.h"
#include "new3.h"
#include "Cxwdiaoru.h"
#include "Czgtable.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char
testyield.py
ble = "abc"
def simpleYield(foo, bar=5.0, mar=ble, *arg, **args):
# this is a yield
yield ("yield") # foo
yield "yield"
print "foo", simpleYield(1, 3.0)
aiyst.cpp
/*题目
有五个具有五种不同颜色的房间;每个房间里分别住着一个不同国籍的人;
每个人都在喝一种特定品牌的饮料,抽一特定品牌的香烟,养一特定的宠物;
没有任意两个人在抽相同品牌的香烟,或喝相同品牌的饮料,或养相同的宠物。
爱因斯坦给出了如下线索
1.英国人住在红色的房子里;f_hong==g_ying
f_hon ...
testfunctiondef.py
# foo before comment
def simpleFunc(foo, bar=5.0, mar=ble, *arg, **args): # on-line
# this is a comment
print "myfunc" # foo
def simpleFunc(foo, bar=5.0, mar=ble, *arg):
# this is a