-
Notifications
You must be signed in to change notification settings - Fork 159
/
Copy pathBeaconSensorDfs.h
72 lines (56 loc) · 2.34 KB
/
BeaconSensorDfs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
BeaconSensorDfs.h
2012 Copyright (c) Seeed Technology Inc. All right reserved.
Author:Loovee
2012-12-2
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __BEACONSENSORDFS_H__
#define __BEACONSENSORDFS_H__
#include <Arduino.h>
#define IOSENSOR0 A0
#define IOSENSOR1 A1
#define BUTTON 1
#define TILTSWITCH 2
#define LINEFINDER 3
#define PIRMOTIONSENSOR 4
#define INFRAREDREFLECTIVESENSOR 5
#define MAGNETICSWITCH 6
#define TOUCHSENSOR 7
#define IRDISTANCEINTERRUPTER 8
#define HALLSENSOR 9
#define SWITCH 10
#define COLLISIONSENSOR 11
#define MOISTURESENSOR 12
#define LIGHTSENSOR 13
#define ROTARYANGLESENSOR 14
#define TEMPERATURESENSOR 44
#define WATERSENSOR 45
#define INFRAREDPROXIMITYSENSOR 46
#define INFRAREDTEMPERATURESENSOR 47
#define SLIDEPOTENTIOMETER 48
#define AIRQUALITYSENSOR 49
#define ELECTRICITYSENSOR 50
#define ALCOHOLSENSOR 51
#define SOUNDSENSOR 53
#define SENSORANALOGTOP 80
#define DIGITALLIGHTSENSOR 81
#define BAROMETERSENSOR 82
#define TEMPANDHUMI_TEMP 102
#define TEMPANDHUMI_HUMI 103
#define INFRAREDRECEIVER 110
#define BAROMETERADDRESS 0x77
#endif
/*********************************************************************************************************
END FILE
*********************************************************************************************************/