代码搜索结果
找到约 3,982 项符合
Sensor 的代码
devicebehavior.java
/*
* Copyright (c) 2000, Niklas Mehner
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following c
input.c
# include "refinery.h"
get_sensor_v (sensor_ptr s) { s->value = read_sensor(); }
get_sensor_f (sensor_ptr s) { s->value = read_sensor(); }
get_sensor_l (sensor_ptr s) { s->value = read_sensor(); }
get
constant.inc
*
LED_TIMER .set -3096
LED_ADDER .set 0x8002
EX_REG_ADDER .set 0x8000
Sensor_index .set 0x0000
Sensor_data .set 0x0001
USB_STATUS .set 0xc000
USB_COMMAND .set 0xc004
USB_DATA .set
constant.inc
*
LED_TIMER .set -3096
LED_ADDER .set 0x8002
EX_REG_ADDER .set 0x8000
Sensor_index .set 0x0000
Sensor_data .set 0x0001
USB_STATUS .set 0xc000
USB_COMMAND .set 0xc004
USB_DATA .set
constant.inc
*
LED_TIMER .set -3096
LED_ADDER .set 0x8002
EX_REG_ADDER .set 0x8000
Sensor_index .set 0x0000
Sensor_data .set 0x0001
USB_STATUS .set 0xc000
USB_COMMAND .set 0xc004
USB_DATA .set
constant.inc
*
LED_TIMER .set -3096
LED_ADDER .set 0x8002
EX_REG_ADDER .set 0x8000
Sensor_index .set 0x0000
Sensor_data .set 0x0001
USB_STATUS .set 0xc000
USB_COMMAND .set 0xc004
USB_DATA .set
constant.inc
*
LED_TIMER .set -3096
LED_ADDER .set 0x8002
EX_REG_ADDER .set 0x8000
Sensor_index .set 0x0000
Sensor_data .set 0x0001
USB_STATUS .set 0xc000
USB_COMMAND .set 0xc004
USB_DATA .set
constant.inc
*
LED_TIMER .set -3096
LED_ADDER .set 0x8002
EX_REG_ADDER .set 0x8000
Sensor_index .set 0x0000
Sensor_data .set 0x0001
USB_STATUS .set 0xc000
USB_COMMAND .set 0xc004
USB_DATA .set
constant.inc
*
LED_TIMER .set -3096
LED_ADDER .set 0x8002
EX_REG_ADDER .set 0x8000
Sensor_index .set 0x0000
Sensor_data .set 0x0001
USB_STATUS .set 0xc000
USB_COMMAND .set 0xc004
USB_DATA .set
adc.h
#define TEMPERATURE_SENSOR 0
#define VOLTAGE_SENSOR 1
#define LIGHT_SENSOR 2
//#define Vref 2.85
void ADC_init(char );
int ADC_read(void);
void ADC_periphery(void