raspberry_pi_iot 0.0.12 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/IoT.html +6 -4
- data/doc/RaspberryPiIoT.html +16 -10
- data/doc/_index.html +197 -21
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +1 -1
- data/doc/file.README.html +15 -6
- data/doc/index.html +15 -6
- data/doc/method_list.html +590 -30
- data/doc/top-level-namespace.html +2 -2
- data/lib/iot/bh1750.rb +6 -4
- data/lib/iot/receptor.rb +6 -0
- data/lib/raspberry_pi.rb +1 -1
- data/lib/raspberry_pi_iot/version.rb +1 -1
- data/test/test.sh +5 -0
- data/test/test.txt +52 -169
- data/test/test_bh1750.rb +5 -0
- data/test/test_ky008.rb +41 -0
- metadata +2 -29
- data/doc/Actuator.html +0 -145
- data/doc/BH1750.html +0 -541
- data/doc/BME280.html +0 -276
- data/doc/BMP280.html +0 -276
- data/doc/BMxSensor.html +0 -557
- data/doc/BinaryActuator.html +0 -177
- data/doc/BinaryEffector.html +0 -246
- data/doc/BinaryReceptor.html +0 -387
- data/doc/BinarySensor.html +0 -168
- data/doc/Bus.html +0 -126
- data/doc/Button.html +0 -1276
- data/doc/DHT11.html +0 -287
- data/doc/DHT22.html +0 -287
- data/doc/DHTxxSensor.html +0 -361
- data/doc/DS18B20.html +0 -339
- data/doc/DigitalActuator.html +0 -164
- data/doc/DigitalEffector.html +0 -624
- data/doc/DigitalReceptor.html +0 -242
- data/doc/DigitalSensor.html +0 -162
- data/doc/Effector.html +0 -257
- data/doc/HCSR501.html +0 -172
- data/doc/HumitureSensor.html +0 -453
- data/doc/LED.html +0 -836
- data/doc/MAX44009.html +0 -830
- data/doc/RaspberryPi.html +0 -544
- data/doc/Receptor.html +0 -257
- data/doc/Sensor.html +0 -145
- data/doc/TemperatureSensor.html +0 -644
data/doc/index.html
CHANGED
@@ -68,6 +68,10 @@ it’s such a fun to do physical programming! But I love to program in Ruby.
|
|
68
68
|
So I tried to make a pragmatic set of useful IoT libraries for the Ruby language
|
69
69
|
for all who want to program for Raspberry Pi in Ruby.</p>
|
70
70
|
|
71
|
+
<p>I taught sachoolchildren in a Raspberry Pi Code Club to write OO-programs that
|
72
|
+
interact with physical devices. And I found Ruby to be a very effective tool
|
73
|
+
in teaching IoT programming.</p>
|
74
|
+
|
71
75
|
<h2 id="installation">Installation</h2>
|
72
76
|
|
73
77
|
<p>To use this library you should do:</p>
|
@@ -79,13 +83,13 @@ for all who want to program for Raspberry Pi in Ruby.
|
|
79
83
|
<p>sudo apt-get install ruby-dev</p>
|
80
84
|
</li>
|
81
85
|
<li>
|
82
|
-
<p>Download and install the bcm2835-1.xx.tar.gz library
|
86
|
+
<p>Download and install the bcm2835-1.xx.tar.gz library, e. g.:</p>
|
83
87
|
|
84
88
|
<p>wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.58.tar.gz</p>
|
85
89
|
|
86
|
-
<p>tar zxvf bcm2835-1.
|
90
|
+
<p>tar zxvf bcm2835-1.58.tar.gz</p>
|
87
91
|
|
88
|
-
<p>cd bcm2835-1.
|
92
|
+
<p>cd bcm2835-1.58</p>
|
89
93
|
|
90
94
|
<p>./configure</p>
|
91
95
|
|
@@ -98,10 +102,15 @@ for all who want to program for Raspberry Pi in Ruby.
|
|
98
102
|
<li>
|
99
103
|
<p>Install the latest version of gem:</p>
|
100
104
|
|
101
|
-
<p>gem install raspberry_pi_iot
|
105
|
+
<p>gem install raspberry_pi_iot</p>
|
102
106
|
</li>
|
103
107
|
</ol>
|
104
108
|
|
109
|
+
<h2 id="usage">Usage</h2>
|
110
|
+
|
111
|
+
<p>Main classes with examples of usage are described <a href="./DESCRIPTION.md">here</a>.
|
112
|
+
Samples of usage can be run in the demo/ sub-directory.</p>
|
113
|
+
|
105
114
|
<h2 id="plans">Plans:</h2>
|
106
115
|
|
107
116
|
<ul>
|
@@ -109,7 +118,7 @@ for all who want to program for Raspberry Pi in Ruby.
|
|
109
118
|
<p>Support for more devices (I2C, SPI, LED strip & matrix), SenseHAT, Official Display (brightness, orientation).</p>
|
110
119
|
</li>
|
111
120
|
<li>
|
112
|
-
<p>Better functionality for existing classes (Button, etc.)</p>
|
121
|
+
<p>Better functionality for existing classes (Button, LED, etc.)</p>
|
113
122
|
</li>
|
114
123
|
<li>
|
115
124
|
<p>More tests.</p>
|
@@ -126,7 +135,7 @@ for all who want to program for Raspberry Pi in Ruby.
|
|
126
135
|
</div></div>
|
127
136
|
|
128
137
|
<div id="footer">
|
129
|
-
Generated on
|
138
|
+
Generated on Wed Jun 10 16:52:49 2020 by
|
130
139
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
131
140
|
0.9.20 (ruby-2.5.5).
|
132
141
|
</div>
|
data/doc/method_list.html
CHANGED
@@ -46,120 +46,680 @@
|
|
46
46
|
|
47
47
|
<li class="odd ">
|
48
48
|
<div class="item">
|
49
|
-
<span class='object_link'><a href="
|
50
|
-
<small>
|
49
|
+
<span class='object_link'><a href="IoT/LED/RGB.html#all_off-instance_method" title="IoT::LED::RGB#all_off (method)">#all_off</a></span>
|
50
|
+
<small>IoT::LED::RGB</small>
|
51
51
|
</div>
|
52
52
|
</li>
|
53
53
|
|
54
54
|
|
55
55
|
<li class="even ">
|
56
56
|
<div class="item">
|
57
|
-
<span class='object_link'><a href="
|
58
|
-
<small>
|
57
|
+
<span class='object_link'><a href="IoT/LED/RGB.html#all_on-instance_method" title="IoT::LED::RGB#all_on (method)">#all_on</a></span>
|
58
|
+
<small>IoT::LED::RGB</small>
|
59
59
|
</div>
|
60
60
|
</li>
|
61
61
|
|
62
62
|
|
63
63
|
<li class="odd ">
|
64
64
|
<div class="item">
|
65
|
-
<span class='object_link'><a href="
|
66
|
-
<small>
|
65
|
+
<span class='object_link'><a href="IoT/LED.html#blink-instance_method" title="IoT::LED#blink (method)">#blink</a></span>
|
66
|
+
<small>IoT::LED</small>
|
67
67
|
</div>
|
68
68
|
</li>
|
69
69
|
|
70
70
|
|
71
71
|
<li class="even ">
|
72
72
|
<div class="item">
|
73
|
-
<span class='object_link'><a href="
|
74
|
-
<small>
|
73
|
+
<span class='object_link'><a href="IoT/LED/RGB.html#blink-instance_method" title="IoT::LED::RGB#blink (method)">#blink</a></span>
|
74
|
+
<small>IoT::LED::RGB</small>
|
75
75
|
</div>
|
76
76
|
</li>
|
77
77
|
|
78
78
|
|
79
79
|
<li class="odd ">
|
80
80
|
<div class="item">
|
81
|
-
<span class='object_link'><a href="
|
82
|
-
<small>
|
81
|
+
<span class='object_link'><a href="IoT/TemperatureSensor.html#celsius-instance_method" title="IoT::TemperatureSensor#celsius (method)">#celsius</a></span>
|
82
|
+
<small>IoT::TemperatureSensor</small>
|
83
83
|
</div>
|
84
84
|
</li>
|
85
85
|
|
86
86
|
|
87
87
|
<li class="even ">
|
88
88
|
<div class="item">
|
89
|
-
<span class='object_link'><a href="
|
90
|
-
<small>
|
89
|
+
<span class='object_link'><a href="IoT/Button.html#double_press%3F-instance_method" title="IoT::Button#double_press? (method)">#double_press?</a></span>
|
90
|
+
<small>IoT::Button</small>
|
91
91
|
</div>
|
92
92
|
</li>
|
93
93
|
|
94
94
|
|
95
95
|
<li class="odd ">
|
96
96
|
<div class="item">
|
97
|
-
<span class='object_link'><a href="IoT/
|
98
|
-
<small>IoT::
|
97
|
+
<span class='object_link'><a href="IoT/TemperatureSensor.html#fahrenheit-instance_method" title="IoT::TemperatureSensor#fahrenheit (method)">#fahrenheit</a></span>
|
98
|
+
<small>IoT::TemperatureSensor</small>
|
99
99
|
</div>
|
100
100
|
</li>
|
101
101
|
|
102
102
|
|
103
103
|
<li class="even ">
|
104
104
|
<div class="item">
|
105
|
-
<span class='object_link'><a href="
|
106
|
-
<small>
|
105
|
+
<span class='object_link'><a href="IoT/BMxSensor.html#hPa-instance_method" title="IoT::BMxSensor#hPa (method)">#hPa</a></span>
|
106
|
+
<small>IoT::BMxSensor</small>
|
107
107
|
</div>
|
108
108
|
</li>
|
109
109
|
|
110
110
|
|
111
111
|
<li class="odd ">
|
112
112
|
<div class="item">
|
113
|
-
<span class='object_link'><a href="
|
114
|
-
<small>
|
113
|
+
<span class='object_link'><a href="IoT/BinaryReceptor.html#high%3F-instance_method" title="IoT::BinaryReceptor#high? (method)">#high?</a></span>
|
114
|
+
<small>IoT::BinaryReceptor</small>
|
115
115
|
</div>
|
116
116
|
</li>
|
117
117
|
|
118
118
|
|
119
119
|
<li class="even ">
|
120
120
|
<div class="item">
|
121
|
-
<span class='object_link'><a href="
|
122
|
-
<small>
|
121
|
+
<span class='object_link'><a href="IoT/HumitureSensor.html#humidity-instance_method" title="IoT::HumitureSensor#humidity (method)">#humidity</a></span>
|
122
|
+
<small>IoT::HumitureSensor</small>
|
123
123
|
</div>
|
124
124
|
</li>
|
125
125
|
|
126
126
|
|
127
127
|
<li class="odd ">
|
128
128
|
<div class="item">
|
129
|
-
<span class='object_link'><a href="IoT/
|
130
|
-
<small>IoT::
|
129
|
+
<span class='object_link'><a href="IoT/BH1750.html#initialize-instance_method" title="IoT::BH1750#initialize (method)">#initialize</a></span>
|
130
|
+
<small>IoT::BH1750</small>
|
131
131
|
</div>
|
132
132
|
</li>
|
133
133
|
|
134
134
|
|
135
135
|
<li class="even ">
|
136
136
|
<div class="item">
|
137
|
-
<span class='object_link'><a href="
|
138
|
-
<small>
|
137
|
+
<span class='object_link'><a href="IoT/BinaryEffector.html#initialize-instance_method" title="IoT::BinaryEffector#initialize (method)">#initialize</a></span>
|
138
|
+
<small>IoT::BinaryEffector</small>
|
139
139
|
</div>
|
140
140
|
</li>
|
141
141
|
|
142
142
|
|
143
143
|
<li class="odd ">
|
144
144
|
<div class="item">
|
145
|
-
<span class='object_link'><a href="IoT/
|
146
|
-
<small>IoT::
|
145
|
+
<span class='object_link'><a href="IoT/BinaryReceptor.html#initialize-instance_method" title="IoT::BinaryReceptor#initialize (method)">#initialize</a></span>
|
146
|
+
<small>IoT::BinaryReceptor</small>
|
147
147
|
</div>
|
148
148
|
</li>
|
149
149
|
|
150
150
|
|
151
151
|
<li class="even ">
|
152
152
|
<div class="item">
|
153
|
-
<span class='object_link'><a href="
|
154
|
-
<small>
|
153
|
+
<span class='object_link'><a href="IoT/BMxSensor.html#initialize-instance_method" title="IoT::BMxSensor#initialize (method)">#initialize</a></span>
|
154
|
+
<small>IoT::BMxSensor</small>
|
155
155
|
</div>
|
156
156
|
</li>
|
157
157
|
|
158
158
|
|
159
159
|
<li class="odd ">
|
160
160
|
<div class="item">
|
161
|
-
<span class='object_link'><a href="
|
162
|
-
<small>
|
161
|
+
<span class='object_link'><a href="IoT/BMP280.html#initialize-instance_method" title="IoT::BMP280#initialize (method)">#initialize</a></span>
|
162
|
+
<small>IoT::BMP280</small>
|
163
|
+
</div>
|
164
|
+
</li>
|
165
|
+
|
166
|
+
|
167
|
+
<li class="even ">
|
168
|
+
<div class="item">
|
169
|
+
<span class='object_link'><a href="IoT/BME280.html#initialize-instance_method" title="IoT::BME280#initialize (method)">#initialize</a></span>
|
170
|
+
<small>IoT::BME280</small>
|
171
|
+
</div>
|
172
|
+
</li>
|
173
|
+
|
174
|
+
|
175
|
+
<li class="odd ">
|
176
|
+
<div class="item">
|
177
|
+
<span class='object_link'><a href="IoT/Button.html#initialize-instance_method" title="IoT::Button#initialize (method)">#initialize</a></span>
|
178
|
+
<small>IoT::Button</small>
|
179
|
+
</div>
|
180
|
+
</li>
|
181
|
+
|
182
|
+
|
183
|
+
<li class="even ">
|
184
|
+
<div class="item">
|
185
|
+
<span class='object_link'><a href="IoT/DHTxxSensor.html#initialize-instance_method" title="IoT::DHTxxSensor#initialize (method)">#initialize</a></span>
|
186
|
+
<small>IoT::DHTxxSensor</small>
|
187
|
+
</div>
|
188
|
+
</li>
|
189
|
+
|
190
|
+
|
191
|
+
<li class="odd ">
|
192
|
+
<div class="item">
|
193
|
+
<span class='object_link'><a href="IoT/DHT11.html#initialize-instance_method" title="IoT::DHT11#initialize (method)">#initialize</a></span>
|
194
|
+
<small>IoT::DHT11</small>
|
195
|
+
</div>
|
196
|
+
</li>
|
197
|
+
|
198
|
+
|
199
|
+
<li class="even ">
|
200
|
+
<div class="item">
|
201
|
+
<span class='object_link'><a href="IoT/DHT22.html#initialize-instance_method" title="IoT::DHT22#initialize (method)">#initialize</a></span>
|
202
|
+
<small>IoT::DHT22</small>
|
203
|
+
</div>
|
204
|
+
</li>
|
205
|
+
|
206
|
+
|
207
|
+
<li class="odd ">
|
208
|
+
<div class="item">
|
209
|
+
<span class='object_link'><a href="IoT/DigitalEffector.html#initialize-instance_method" title="IoT::DigitalEffector#initialize (method)">#initialize</a></span>
|
210
|
+
<small>IoT::DigitalEffector</small>
|
211
|
+
</div>
|
212
|
+
</li>
|
213
|
+
|
214
|
+
|
215
|
+
<li class="even ">
|
216
|
+
<div class="item">
|
217
|
+
<span class='object_link'><a href="IoT/DS18B20.html#initialize-instance_method" title="IoT::DS18B20#initialize (method)">#initialize</a></span>
|
218
|
+
<small>IoT::DS18B20</small>
|
219
|
+
</div>
|
220
|
+
</li>
|
221
|
+
|
222
|
+
|
223
|
+
<li class="odd ">
|
224
|
+
<div class="item">
|
225
|
+
<span class='object_link'><a href="IoT/Effector.html#initialize-instance_method" title="IoT::Effector#initialize (method)">#initialize</a></span>
|
226
|
+
<small>IoT::Effector</small>
|
227
|
+
</div>
|
228
|
+
</li>
|
229
|
+
|
230
|
+
|
231
|
+
<li class="even ">
|
232
|
+
<div class="item">
|
233
|
+
<span class='object_link'><a href="IoT/HumitureSensor.html#initialize-instance_method" title="IoT::HumitureSensor#initialize (method)">#initialize</a></span>
|
234
|
+
<small>IoT::HumitureSensor</small>
|
235
|
+
</div>
|
236
|
+
</li>
|
237
|
+
|
238
|
+
|
239
|
+
<li class="odd ">
|
240
|
+
<div class="item">
|
241
|
+
<span class='object_link'><a href="IoT/LED.html#initialize-instance_method" title="IoT::LED#initialize (method)">#initialize</a></span>
|
242
|
+
<small>IoT::LED</small>
|
243
|
+
</div>
|
244
|
+
</li>
|
245
|
+
|
246
|
+
|
247
|
+
<li class="even ">
|
248
|
+
<div class="item">
|
249
|
+
<span class='object_link'><a href="IoT/LED/RGB.html#initialize-instance_method" title="IoT::LED::RGB#initialize (method)">#initialize</a></span>
|
250
|
+
<small>IoT::LED::RGB</small>
|
251
|
+
</div>
|
252
|
+
</li>
|
253
|
+
|
254
|
+
|
255
|
+
<li class="odd ">
|
256
|
+
<div class="item">
|
257
|
+
<span class='object_link'><a href="IoT/MAX44009.html#initialize-instance_method" title="IoT::MAX44009#initialize (method)">#initialize</a></span>
|
258
|
+
<small>IoT::MAX44009</small>
|
259
|
+
</div>
|
260
|
+
</li>
|
261
|
+
|
262
|
+
|
263
|
+
<li class="even ">
|
264
|
+
<div class="item">
|
265
|
+
<span class='object_link'><a href="IoT/Receptor.html#initialize-instance_method" title="IoT::Receptor#initialize (method)">#initialize</a></span>
|
266
|
+
<small>IoT::Receptor</small>
|
267
|
+
</div>
|
268
|
+
</li>
|
269
|
+
|
270
|
+
|
271
|
+
<li class="odd ">
|
272
|
+
<div class="item">
|
273
|
+
<span class='object_link'><a href="IoT/TemperatureSensor.html#initialize-instance_method" title="IoT::TemperatureSensor#initialize (method)">#initialize</a></span>
|
274
|
+
<small>IoT::TemperatureSensor</small>
|
275
|
+
</div>
|
276
|
+
</li>
|
277
|
+
|
278
|
+
|
279
|
+
<li class="even ">
|
280
|
+
<div class="item">
|
281
|
+
<span class='object_link'><a href="IoT/TemperatureSensor.html#kelvin-instance_method" title="IoT::TemperatureSensor#kelvin (method)">#kelvin</a></span>
|
282
|
+
<small>IoT::TemperatureSensor</small>
|
283
|
+
</div>
|
284
|
+
</li>
|
285
|
+
|
286
|
+
|
287
|
+
<li class="odd ">
|
288
|
+
<div class="item">
|
289
|
+
<span class='object_link'><a href="IoT/Button.html#long_press%3F-instance_method" title="IoT::Button#long_press? (method)">#long_press?</a></span>
|
290
|
+
<small>IoT::Button</small>
|
291
|
+
</div>
|
292
|
+
</li>
|
293
|
+
|
294
|
+
|
295
|
+
<li class="even ">
|
296
|
+
<div class="item">
|
297
|
+
<span class='object_link'><a href="IoT/BinaryReceptor.html#low%3F-instance_method" title="IoT::BinaryReceptor#low? (method)">#low?</a></span>
|
298
|
+
<small>IoT::BinaryReceptor</small>
|
299
|
+
</div>
|
300
|
+
</li>
|
301
|
+
|
302
|
+
|
303
|
+
<li class="odd ">
|
304
|
+
<div class="item">
|
305
|
+
<span class='object_link'><a href="IoT/BH1750.html#lux-instance_method" title="IoT::BH1750#lux (method)">#lux</a></span>
|
306
|
+
<small>IoT::BH1750</small>
|
307
|
+
</div>
|
308
|
+
</li>
|
309
|
+
|
310
|
+
|
311
|
+
<li class="even ">
|
312
|
+
<div class="item">
|
313
|
+
<span class='object_link'><a href="IoT/MAX44009.html#lux-instance_method" title="IoT::MAX44009#lux (method)">#lux</a></span>
|
314
|
+
<small>IoT::MAX44009</small>
|
315
|
+
</div>
|
316
|
+
</li>
|
317
|
+
|
318
|
+
|
319
|
+
<li class="odd ">
|
320
|
+
<div class="item">
|
321
|
+
<span class='object_link'><a href="IoT/Effector.html#model_name-instance_method" title="IoT::Effector#model_name (method)">#model_name</a></span>
|
322
|
+
<small>IoT::Effector</small>
|
323
|
+
</div>
|
324
|
+
</li>
|
325
|
+
|
326
|
+
|
327
|
+
<li class="even ">
|
328
|
+
<div class="item">
|
329
|
+
<span class='object_link'><a href="IoT/Receptor.html#model_name-instance_method" title="IoT::Receptor#model_name (method)">#model_name</a></span>
|
330
|
+
<small>IoT::Receptor</small>
|
331
|
+
</div>
|
332
|
+
</li>
|
333
|
+
|
334
|
+
|
335
|
+
<li class="odd ">
|
336
|
+
<div class="item">
|
337
|
+
<span class='object_link'><a href="IoT/BH1750.html#name-instance_method" title="IoT::BH1750#name (method)">#name</a></span>
|
338
|
+
<small>IoT::BH1750</small>
|
339
|
+
</div>
|
340
|
+
</li>
|
341
|
+
|
342
|
+
|
343
|
+
<li class="even ">
|
344
|
+
<div class="item">
|
345
|
+
<span class='object_link'><a href="IoT/BMxSensor.html#name-instance_method" title="IoT::BMxSensor#name (method)">#name</a></span>
|
346
|
+
<small>IoT::BMxSensor</small>
|
347
|
+
</div>
|
348
|
+
</li>
|
349
|
+
|
350
|
+
|
351
|
+
<li class="odd ">
|
352
|
+
<div class="item">
|
353
|
+
<span class='object_link'><a href="IoT/Button.html#name-instance_method" title="IoT::Button#name (method)">#name</a></span>
|
354
|
+
<small>IoT::Button</small>
|
355
|
+
</div>
|
356
|
+
</li>
|
357
|
+
|
358
|
+
|
359
|
+
<li class="even ">
|
360
|
+
<div class="item">
|
361
|
+
<span class='object_link'><a href="IoT/DHTxxSensor.html#name-instance_method" title="IoT::DHTxxSensor#name (method)">#name</a></span>
|
362
|
+
<small>IoT::DHTxxSensor</small>
|
363
|
+
</div>
|
364
|
+
</li>
|
365
|
+
|
366
|
+
|
367
|
+
<li class="odd ">
|
368
|
+
<div class="item">
|
369
|
+
<span class='object_link'><a href="IoT/Effector.html#name-instance_method" title="IoT::Effector#name (method)">#name</a></span>
|
370
|
+
<small>IoT::Effector</small>
|
371
|
+
</div>
|
372
|
+
</li>
|
373
|
+
|
374
|
+
|
375
|
+
<li class="even ">
|
376
|
+
<div class="item">
|
377
|
+
<span class='object_link'><a href="IoT/MAX44009.html#name-instance_method" title="IoT::MAX44009#name (method)">#name</a></span>
|
378
|
+
<small>IoT::MAX44009</small>
|
379
|
+
</div>
|
380
|
+
</li>
|
381
|
+
|
382
|
+
|
383
|
+
<li class="odd ">
|
384
|
+
<div class="item">
|
385
|
+
<span class='object_link'><a href="IoT/Receptor.html#name-instance_method" title="IoT::Receptor#name (method)">#name</a></span>
|
386
|
+
<small>IoT::Receptor</small>
|
387
|
+
</div>
|
388
|
+
</li>
|
389
|
+
|
390
|
+
|
391
|
+
<li class="even ">
|
392
|
+
<div class="item">
|
393
|
+
<span class='object_link'><a href="IoT/Button.html#not_pressed%3F-instance_method" title="IoT::Button#not_pressed? (method)">#not_pressed?</a></span>
|
394
|
+
<small>IoT::Button</small>
|
395
|
+
</div>
|
396
|
+
</li>
|
397
|
+
|
398
|
+
|
399
|
+
<li class="odd ">
|
400
|
+
<div class="item">
|
401
|
+
<span class='object_link'><a href="IoT/DigitalEffector.html#off-class_method" title="IoT::DigitalEffector.off (method)">off</a></span>
|
402
|
+
<small>IoT::DigitalEffector</small>
|
403
|
+
</div>
|
404
|
+
</li>
|
405
|
+
|
406
|
+
|
407
|
+
<li class="even ">
|
408
|
+
<div class="item">
|
409
|
+
<span class='object_link'><a href="IoT/DigitalEffector.html#off-instance_method" title="IoT::DigitalEffector#off (method)">#off</a></span>
|
410
|
+
<small>IoT::DigitalEffector</small>
|
411
|
+
</div>
|
412
|
+
</li>
|
413
|
+
|
414
|
+
|
415
|
+
<li class="odd ">
|
416
|
+
<div class="item">
|
417
|
+
<span class='object_link'><a href="IoT/LED.html#off-instance_method" title="IoT::LED#off (method)">#off</a></span>
|
418
|
+
<small>IoT::LED</small>
|
419
|
+
</div>
|
420
|
+
</li>
|
421
|
+
|
422
|
+
|
423
|
+
<li class="even ">
|
424
|
+
<div class="item">
|
425
|
+
<span class='object_link'><a href="IoT/LED/RGB.html#off-instance_method" title="IoT::LED::RGB#off (method)">#off</a></span>
|
426
|
+
<small>IoT::LED::RGB</small>
|
427
|
+
</div>
|
428
|
+
</li>
|
429
|
+
|
430
|
+
|
431
|
+
<li class="odd ">
|
432
|
+
<div class="item">
|
433
|
+
<span class='object_link'><a href="IoT/DigitalEffector.html#off%3F-instance_method" title="IoT::DigitalEffector#off? (method)">#off?</a></span>
|
434
|
+
<small>IoT::DigitalEffector</small>
|
435
|
+
</div>
|
436
|
+
</li>
|
437
|
+
|
438
|
+
|
439
|
+
<li class="even ">
|
440
|
+
<div class="item">
|
441
|
+
<span class='object_link'><a href="IoT/LED.html#off_for-instance_method" title="IoT::LED#off_for (method)">#off_for</a></span>
|
442
|
+
<small>IoT::LED</small>
|
443
|
+
</div>
|
444
|
+
</li>
|
445
|
+
|
446
|
+
|
447
|
+
<li class="odd ">
|
448
|
+
<div class="item">
|
449
|
+
<span class='object_link'><a href="IoT/DigitalEffector.html#on-class_method" title="IoT::DigitalEffector.on (method)">on</a></span>
|
450
|
+
<small>IoT::DigitalEffector</small>
|
451
|
+
</div>
|
452
|
+
</li>
|
453
|
+
|
454
|
+
|
455
|
+
<li class="even ">
|
456
|
+
<div class="item">
|
457
|
+
<span class='object_link'><a href="IoT/DigitalEffector.html#on-instance_method" title="IoT::DigitalEffector#on (method)">#on</a></span>
|
458
|
+
<small>IoT::DigitalEffector</small>
|
459
|
+
</div>
|
460
|
+
</li>
|
461
|
+
|
462
|
+
|
463
|
+
<li class="odd ">
|
464
|
+
<div class="item">
|
465
|
+
<span class='object_link'><a href="IoT/LED.html#on-instance_method" title="IoT::LED#on (method)">#on</a></span>
|
466
|
+
<small>IoT::LED</small>
|
467
|
+
</div>
|
468
|
+
</li>
|
469
|
+
|
470
|
+
|
471
|
+
<li class="even ">
|
472
|
+
<div class="item">
|
473
|
+
<span class='object_link'><a href="IoT/LED/RGB.html#on-instance_method" title="IoT::LED::RGB#on (method)">#on</a></span>
|
474
|
+
<small>IoT::LED::RGB</small>
|
475
|
+
</div>
|
476
|
+
</li>
|
477
|
+
|
478
|
+
|
479
|
+
<li class="odd ">
|
480
|
+
<div class="item">
|
481
|
+
<span class='object_link'><a href="IoT/DigitalEffector.html#on%3F-instance_method" title="IoT::DigitalEffector#on? (method)">#on?</a></span>
|
482
|
+
<small>IoT::DigitalEffector</small>
|
483
|
+
</div>
|
484
|
+
</li>
|
485
|
+
|
486
|
+
|
487
|
+
<li class="even ">
|
488
|
+
<div class="item">
|
489
|
+
<span class='object_link'><a href="IoT/LED.html#on_for-instance_method" title="IoT::LED#on_for (method)">#on_for</a></span>
|
490
|
+
<small>IoT::LED</small>
|
491
|
+
</div>
|
492
|
+
</li>
|
493
|
+
|
494
|
+
|
495
|
+
<li class="odd ">
|
496
|
+
<div class="item">
|
497
|
+
<span class='object_link'><a href="IoT/DigitalReceptor.html#one_wire_file-class_method" title="IoT::DigitalReceptor.one_wire_file (method)">one_wire_file</a></span>
|
498
|
+
<small>IoT::DigitalReceptor</small>
|
499
|
+
</div>
|
500
|
+
</li>
|
501
|
+
|
502
|
+
|
503
|
+
<li class="even ">
|
504
|
+
<div class="item">
|
505
|
+
<span class='object_link'><a href="IoT/Button.html#pressed%3F-instance_method" title="IoT::Button#pressed? (method)">#pressed?</a></span>
|
506
|
+
<small>IoT::Button</small>
|
507
|
+
</div>
|
508
|
+
</li>
|
509
|
+
|
510
|
+
|
511
|
+
<li class="odd ">
|
512
|
+
<div class="item">
|
513
|
+
<span class='object_link'><a href="IoT/BMxSensor.html#pressure-instance_method" title="IoT::BMxSensor#pressure (method)">#pressure</a></span>
|
514
|
+
<small>IoT::BMxSensor</small>
|
515
|
+
</div>
|
516
|
+
</li>
|
517
|
+
|
518
|
+
|
519
|
+
<li class="even ">
|
520
|
+
<div class="item">
|
521
|
+
<span class='object_link'><a href="IoT/BH1750.html#read-instance_method" title="IoT::BH1750#read (method)">#read</a></span>
|
522
|
+
<small>IoT::BH1750</small>
|
523
|
+
</div>
|
524
|
+
</li>
|
525
|
+
|
526
|
+
|
527
|
+
<li class="odd ">
|
528
|
+
<div class="item">
|
529
|
+
<span class='object_link'><a href="IoT/Receptor.html#read-instance_method" title="IoT::Receptor#read (method)">#read</a></span>
|
530
|
+
<small>IoT::Receptor</small>
|
531
|
+
</div>
|
532
|
+
</li>
|
533
|
+
|
534
|
+
|
535
|
+
<li class="even ">
|
536
|
+
<div class="item">
|
537
|
+
<span class='object_link'><a href="IoT/BMxSensor.html#read_data-instance_method" title="IoT::BMxSensor#read_data (method)">#read_data</a></span>
|
538
|
+
<small>IoT::BMxSensor</small>
|
539
|
+
</div>
|
540
|
+
</li>
|
541
|
+
|
542
|
+
|
543
|
+
<li class="odd ">
|
544
|
+
<div class="item">
|
545
|
+
<span class='object_link'><a href="IoT/DHTxxSensor.html#read_data-instance_method" title="IoT::DHTxxSensor#read_data (method)">#read_data</a></span>
|
546
|
+
<small>IoT::DHTxxSensor</small>
|
547
|
+
</div>
|
548
|
+
</li>
|
549
|
+
|
550
|
+
|
551
|
+
<li class="even ">
|
552
|
+
<div class="item">
|
553
|
+
<span class='object_link'><a href="IoT/DS18B20.html#read_data-instance_method" title="IoT::DS18B20#read_data (method)">#read_data</a></span>
|
554
|
+
<small>IoT::DS18B20</small>
|
555
|
+
</div>
|
556
|
+
</li>
|
557
|
+
|
558
|
+
|
559
|
+
<li class="odd ">
|
560
|
+
<div class="item">
|
561
|
+
<span class='object_link'><a href="IoT/HumitureSensor.html#read_data-instance_method" title="IoT::HumitureSensor#read_data (method)">#read_data</a></span>
|
562
|
+
<small>IoT::HumitureSensor</small>
|
563
|
+
</div>
|
564
|
+
</li>
|
565
|
+
|
566
|
+
|
567
|
+
<li class="even ">
|
568
|
+
<div class="item">
|
569
|
+
<span class='object_link'><a href="IoT/TemperatureSensor.html#read_data-instance_method" title="IoT::TemperatureSensor#read_data (method)">#read_data</a></span>
|
570
|
+
<small>IoT::TemperatureSensor</small>
|
571
|
+
</div>
|
572
|
+
</li>
|
573
|
+
|
574
|
+
|
575
|
+
<li class="odd ">
|
576
|
+
<div class="item">
|
577
|
+
<span class='object_link'><a href="IoT/MAX44009.html#read_sensor-instance_method" title="IoT::MAX44009#read_sensor (method)">#read_sensor</a></span>
|
578
|
+
<small>IoT::MAX44009</small>
|
579
|
+
</div>
|
580
|
+
</li>
|
581
|
+
|
582
|
+
|
583
|
+
<li class="even ">
|
584
|
+
<div class="item">
|
585
|
+
<span class='object_link'><a href="IoT/TemperatureSensor.html#reaumur-instance_method" title="IoT::TemperatureSensor#reaumur (method)">#reaumur</a></span>
|
586
|
+
<small>IoT::TemperatureSensor</small>
|
587
|
+
</div>
|
588
|
+
</li>
|
589
|
+
|
590
|
+
|
591
|
+
<li class="odd ">
|
592
|
+
<div class="item">
|
593
|
+
<span class='object_link'><a href="IoT/Button.html#set_timeout-instance_method" title="IoT::Button#set_timeout (method)">#set_timeout</a></span>
|
594
|
+
<small>IoT::Button</small>
|
595
|
+
</div>
|
596
|
+
</li>
|
597
|
+
|
598
|
+
|
599
|
+
<li class="even ">
|
600
|
+
<div class="item">
|
601
|
+
<span class='object_link'><a href="IoT/Button.html#single_press%3F-instance_method" title="IoT::Button#single_press? (method)">#single_press?</a></span>
|
602
|
+
<small>IoT::Button</small>
|
603
|
+
</div>
|
604
|
+
</li>
|
605
|
+
|
606
|
+
|
607
|
+
<li class="odd ">
|
608
|
+
<div class="item">
|
609
|
+
<span class='object_link'><a href="IoT/TemperatureSensor.html#temperature-instance_method" title="IoT::TemperatureSensor#temperature (method)">#temperature</a></span>
|
610
|
+
<small>IoT::TemperatureSensor</small>
|
611
|
+
</div>
|
612
|
+
</li>
|
613
|
+
|
614
|
+
|
615
|
+
<li class="even ">
|
616
|
+
<div class="item">
|
617
|
+
<span class='object_link'><a href="IoT/Button.html#timeout%3F-instance_method" title="IoT::Button#timeout? (method)">#timeout?</a></span>
|
618
|
+
<small>IoT::Button</small>
|
619
|
+
</div>
|
620
|
+
</li>
|
621
|
+
|
622
|
+
|
623
|
+
<li class="odd ">
|
624
|
+
<div class="item">
|
625
|
+
<span class='object_link'><a href="IoT/BMxSensor.html#to_s-instance_method" title="IoT::BMxSensor#to_s (method)">#to_s</a></span>
|
626
|
+
<small>IoT::BMxSensor</small>
|
627
|
+
</div>
|
628
|
+
</li>
|
629
|
+
|
630
|
+
|
631
|
+
<li class="even ">
|
632
|
+
<div class="item">
|
633
|
+
<span class='object_link'><a href="IoT/HumitureSensor.html#to_s-instance_method" title="IoT::HumitureSensor#to_s (method)">#to_s</a></span>
|
634
|
+
<small>IoT::HumitureSensor</small>
|
635
|
+
</div>
|
636
|
+
</li>
|
637
|
+
|
638
|
+
|
639
|
+
<li class="odd ">
|
640
|
+
<div class="item">
|
641
|
+
<span class='object_link'><a href="IoT/TemperatureSensor.html#to_s-instance_method" title="IoT::TemperatureSensor#to_s (method)">#to_s</a></span>
|
642
|
+
<small>IoT::TemperatureSensor</small>
|
643
|
+
</div>
|
644
|
+
</li>
|
645
|
+
|
646
|
+
|
647
|
+
<li class="even ">
|
648
|
+
<div class="item">
|
649
|
+
<span class='object_link'><a href="IoT/Button.html#triple_press%3F-instance_method" title="IoT::Button#triple_press? (method)">#triple_press?</a></span>
|
650
|
+
<small>IoT::Button</small>
|
651
|
+
</div>
|
652
|
+
</li>
|
653
|
+
|
654
|
+
|
655
|
+
<li class="odd ">
|
656
|
+
<div class="item">
|
657
|
+
<span class='object_link'><a href="IoT/Button.html#wait_for_press-instance_method" title="IoT::Button#wait_for_press (method)">#wait_for_press</a></span>
|
658
|
+
<small>IoT::Button</small>
|
659
|
+
</div>
|
660
|
+
</li>
|
661
|
+
|
662
|
+
|
663
|
+
<li class="even ">
|
664
|
+
<div class="item">
|
665
|
+
<span class='object_link'><a href="IoT/Button.html#wait_for_presses-instance_method" title="IoT::Button#wait_for_presses (method)">#wait_for_presses</a></span>
|
666
|
+
<small>IoT::Button</small>
|
667
|
+
</div>
|
668
|
+
</li>
|
669
|
+
|
670
|
+
|
671
|
+
<li class="odd ">
|
672
|
+
<div class="item">
|
673
|
+
<span class='object_link'><a href="IoT/Button.html#was_not_pressed%3F-instance_method" title="IoT::Button#was_not_pressed? (method)">#was_not_pressed?</a></span>
|
674
|
+
<small>IoT::Button</small>
|
675
|
+
</div>
|
676
|
+
</li>
|
677
|
+
|
678
|
+
|
679
|
+
<li class="even ">
|
680
|
+
<div class="item">
|
681
|
+
<span class='object_link'><a href="IoT/Button.html#was_pressed%3F-instance_method" title="IoT::Button#was_pressed? (method)">#was_pressed?</a></span>
|
682
|
+
<small>IoT::Button</small>
|
683
|
+
</div>
|
684
|
+
</li>
|
685
|
+
|
686
|
+
|
687
|
+
<li class="odd ">
|
688
|
+
<div class="item">
|
689
|
+
<span class='object_link'><a href="IoT/MAX44009.html#write_config-instance_method" title="IoT::MAX44009#write_config (method)">#write_config</a></span>
|
690
|
+
<small>IoT::MAX44009</small>
|
691
|
+
</div>
|
692
|
+
</li>
|
693
|
+
|
694
|
+
|
695
|
+
<li class="even ">
|
696
|
+
<div class="item">
|
697
|
+
<span class='object_link'><a href="IoT/LED.html#%D0%B2%D0%BA%D0%BB%D1%8E%D1%87%D0%B8%D1%82%D1%8C-instance_method" title="IoT::LED#включить (method)">#включить</a></span>
|
698
|
+
<small>IoT::LED</small>
|
699
|
+
</div>
|
700
|
+
</li>
|
701
|
+
|
702
|
+
|
703
|
+
<li class="odd ">
|
704
|
+
<div class="item">
|
705
|
+
<span class='object_link'><a href="IoT/LED.html#%D0%B2%D1%8B%D0%BA%D0%BB%D1%8E%D1%87%D0%B8%D1%82%D1%8C-instance_method" title="IoT::LED#выключить (method)">#выключить</a></span>
|
706
|
+
<small>IoT::LED</small>
|
707
|
+
</div>
|
708
|
+
</li>
|
709
|
+
|
710
|
+
|
711
|
+
<li class="even ">
|
712
|
+
<div class="item">
|
713
|
+
<span class='object_link'><a href="IoT/LED.html#%D0%BC%D0%B8%D0%B3%D0%B0%D1%82%D1%8C-instance_method" title="IoT::LED#мигать (method)">#мигать</a></span>
|
714
|
+
<small>IoT::LED</small>
|
715
|
+
</div>
|
716
|
+
</li>
|
717
|
+
|
718
|
+
|
719
|
+
<li class="odd ">
|
720
|
+
<div class="item">
|
721
|
+
<span class='object_link'><a href="IoT/LED.html#%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D1%82%D1%8C-class_method" title="IoT::LED.создать (method)">создать</a></span>
|
722
|
+
<small>IoT::LED</small>
|
163
723
|
</div>
|
164
724
|
</li>
|
165
725
|
|