代码搜索:sensor
找到约 3,982 项符合「sensor」的源代码
代码结果 3,982
www.eeworm.com/read/249104/4457212
java~4~ sensor.java~4~
package securitysystem;
public interface Sensor {
}
www.eeworm.com/read/249104/4457217
java~9~ sensor.java~9~
package securitysystem;
//定义传感器抽象类:
public abstract class Sensor {
public String position;//所安装位置
}
www.eeworm.com/read/249104/4457231
java~1~ sensor.java~1~
package securitysystem;
public interface Sensor {
}
www.eeworm.com/read/249104/4457247
java~7~ sensor.java~7~
package securitysystem;
public abstract class Sensor {
public String position;
}
www.eeworm.com/read/249104/4457273
java~5~ sensor.java~5~
package securitysystem;
public abstract Sensor {
}
www.eeworm.com/read/249104/4457274
java~6~ sensor.java~6~
package securitysystem;
public abstract class Sensor {
}
www.eeworm.com/read/228152/4766037
c vib-sensor.c
/*
* Copyright (c) 2005, Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provide
www.eeworm.com/read/228152/4766038
h button-sensor.h
#ifndef __BUTTON_SENSOR_H__
#define __BUTTON_SENSOR_H__
#include "lib/sensors.h"
extern const struct sensors_sensor button_sensor;
#define BUTTON_SENSOR "Button"
void button_press(void);
#endif /
www.eeworm.com/read/228152/4766040
h pir-sensor.h
#ifndef __PIR_SENSOR_H__
#define __PIR_SENSOR_H__
#include "lib/sensors.h"
extern const struct sensors_sensor pir_sensor;
#define PIR_SENSOR "PIR"
void pir_sensor_changed(int strength);
#endif /*
www.eeworm.com/read/228152/4766041
c button-sensor.c
#include "dev/button-sensor.h"
const struct sensors_sensor button_sensor;
/*---------------------------------------------------------------------------*/
void
button_press(void)
{
sensors_changed