代码搜索结果
找到约 3,108 项符合
Sensor 的代码
sensor_init.cpp
#define S_FUNCTION_NAME sensor_init
#include "ttkernel.cpp"
// Periodic Sensor Node
// code function
double sensor_code(int seg, void *data) {
static double *y;
switch (seg) {
case 1:
y
msgrcvsensor.m
function [exectime, data] = msgRcvSensor(seg, data)
disp('ERROR: sensor received a message');
exectime = -1;
msp430f2012 tilt sensor 0-00.c
//*****************************************************************************
// Code for application report SLAAxxx -
// "Low-Power Tilt Sensor using the MSP430F2012"
//
// Version 0-00
//
fet430_adc12_10.c
//******************************************************************************
// MSP-FET430P430 Demo - ADC12, Using the Temperature Sensor
//
//
// This example shows how to use the intergrat
cb_sensor.cpp
#include "CB_Sensor.h"
#include "CB_Unit.h"
//##ModelId=40B434D0000C
SENSOR *CB_Sensor::getSensor(char *index)
{
FILE *pFile;
pFile = fopen("dat/sensor.dest","r");
SENSOR sensor;
whi
cb_sensor_bk.cpp
#include "CB_Sensor_bk.h"
#include "CB_Unit.h"
//##ModelId=40B434D0000C
int CB_Sensor_bk::getSensor(char *index, SENSOR &sensor_source)
{
FILE *pFile;
pFile = fopen("dat/sensor.dest","r");
analog.c
//-----------------------------------------------------------------------------
// Net ANALOG.C
//
// This module handles the analog inputs which are external temperature
// sensor, the on-chip te
ds1631.dox
/** \defgroup ds1631 ds1631: Dallas DS1631 Temperature Sensor Driver
This library provides high-level functions for accessing the Dallas
Semiconductor DS1631 I2C Temperature Sensor.
The basi
sensor.c
/*
* Simple 4 point sensor (whisker) that, when activated,
* pushes the "bot".
* This program demonstrates a simple coralling mechanic.
*/
#define screen_w 320
#define scree
demo.m
function demo(config);
%Wirless Image Sensor Networks Demo Application.
% DEMO(CONFIG);
%
% Input Parameters:
% ================
%
% config ------------> Network configuration (posit