代码搜索结果
找到约 3,108 项符合
Sensor 的代码
button-sensor.c
#include "dev/button-sensor.h"
const struct sensors_sensor button_sensor;
/*---------------------------------------------------------------------------*/
void
button_press(void)
{
sensors_changed
pir-sensor.c
#include "dev/pir-sensor.h"
const struct sensors_sensor pir_sensor;
static int pir_value;
/*---------------------------------------------------------------------------*/
void
pir_sensor_changed(in
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
virtualinputdevice.java
package org.j3de.input;
import javax.media.j3d.InputDevice;
import javax.media.j3d.Sensor;
import javax.media.j3d.SensorRead;
import javax.media.j3d.Transform3D;
import javax.vecmath.Point3d;
readme
Sense To Leds:
This application will read the raw adc value from the light sensor and
display the lowest three significant bytes on the leds.
readme
Sensor Recorder...
This application provides interactive recording of the sensor
values. You are able to select which sensor to read the values from
and where to output the values. By using the mos
adc.c
/* tab:4
* ADC.c - TOS abstraction of asynchronous digital photo sensor
*
* "Copyright (c) 2000 and The Regents of the University
* of California. All rights reserved.
*
* Permission t
sensor_init.m
function sensor_init
% Distributed control system: sensor node
%
% Samples the plant periodically and sends the samples to the
% controller node.
% Initialize TrueTime kernel
ttInitKernel(1, 0, 'pr
msgrcvsensor.m
function [exectime, data] = msgRcvSensor(seg, data)
disp('ERROR: sensor received a message');
exectime = -1;
sensor_init.m
function sensor_init
% Distributed control system: sensor node
%
% Samples the plant periodically and sends the samples to the
% controller node.
% Initialize TrueTime kernel
ttInitKernel(1, 0, 'pr