raspberry_pi_iot 0.0.6 → 0.0.7
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/Actuator.html +1 -1
- data/doc/BH1750.html +22 -16
- data/doc/BME280.html +5 -5
- data/doc/BMP280.html +5 -5
- data/doc/BMxSensor.html +29 -31
- data/doc/BinaryActuator.html +1 -1
- data/doc/BinaryEffector.html +1 -1
- data/doc/BinaryReceptor.html +1 -1
- data/doc/BinarySensor.html +1 -1
- data/doc/Bus.html +1 -1
- data/doc/Button.html +1 -1
- data/doc/DHT11.html +1 -1
- data/doc/DHT22.html +1 -1
- data/doc/DHTxxSensor.html +1 -1
- data/doc/DS18B20.html +2 -2
- data/doc/DigitalActuator.html +3 -3
- data/doc/DigitalEffector.html +2 -2
- data/doc/DigitalReceptor.html +1 -1
- data/doc/DigitalSensor.html +2 -2
- data/doc/Effector.html +1 -1
- data/doc/HCSR501.html +1 -1
- data/doc/HumitureSensor.html +1 -1
- data/doc/IoT.html +12 -2
- data/doc/LED.html +1 -1
- data/doc/MAX44009.html +1 -1
- data/doc/RaspberryPi.html +30 -22
- data/doc/Receptor.html +1 -1
- data/doc/Sensor.html +1 -1
- data/doc/TemperatureSensor.html +1 -1
- data/doc/_index.html +17 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +80 -0
- data/doc/file_list.html +5 -0
- data/doc/index.html +18 -317
- data/doc/method_list.html +96 -48
- data/doc/top-level-namespace.html +1 -1
- data/lib/bh1750.rb +5 -2
- data/lib/bus.rb +25 -1
- data/lib/digital_actuator.rb +5 -0
- data/lib/digital_effector.rb +1 -5
- data/lib/digital_receptor.rb +0 -4
- data/lib/digital_sensor.rb +5 -0
- data/lib/ds18b20.rb +1 -1
- data/lib/iot.rb +15 -0
- data/lib/led_rgb.rb +1 -0
- data/lib/raspberry_pi.rb +11 -19
- data/lib/temperature_sensor.rb +1 -1
- data/lib/thermal_sensor.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3f9acf5ec32f8be64229816cd7ca811736ad4a0c
|
|
4
|
+
data.tar.gz: d4799ab12c39f1f0d74e46d49e2230d9dae8601a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cdfacdbcd896498befa03063116e2d6475c29b4ff0dbd9f6a723c7790cdf24cf34ad4795380df03ac1e1cedc39a47caa7948fde2c786a6b1e1eef386d6845001
|
|
7
|
+
data.tar.gz: 3b0312e1e1f706c996545c8b24a09453ef8e23bc281b7912c3319e88a259b9b054519b4328c7ad50ba0d09540fa17ff406275e6948aebd771578835923e814b1
|
data/doc/Actuator.html
CHANGED
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
</div>
|
|
136
136
|
|
|
137
137
|
<div id="footer">
|
|
138
|
-
Generated on
|
|
138
|
+
Generated on Mon Dec 17 17:41:49 2018 by
|
|
139
139
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
140
140
|
0.9.16 (ruby-2.3.3).
|
|
141
141
|
</div>
|
data/doc/BH1750.html
CHANGED
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
<li class="public ">
|
|
300
300
|
<span class="summary_signature">
|
|
301
301
|
|
|
302
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(
|
|
302
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(device_address = DEVICE, bus_number = 1) ⇒ BH1750 </a>
|
|
303
303
|
|
|
304
304
|
|
|
305
305
|
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
<div class="method_details first">
|
|
380
380
|
<h3 class="signature first" id="initialize-instance_method">
|
|
381
381
|
|
|
382
|
-
#<strong>initialize</strong>(
|
|
382
|
+
#<strong>initialize</strong>(device_address = DEVICE, bus_number = 1) ⇒ <tt><span class='object_link'><a href="" title="BH1750 (class)">BH1750</a></span></tt>
|
|
383
383
|
|
|
384
384
|
|
|
385
385
|
|
|
@@ -409,14 +409,20 @@
|
|
|
409
409
|
21
|
|
410
410
|
22
|
|
411
411
|
23
|
|
412
|
-
24
|
|
412
|
+
24
|
|
413
|
+
25
|
|
414
|
+
26
|
|
415
|
+
27</pre>
|
|
413
416
|
</td>
|
|
414
417
|
<td>
|
|
415
418
|
<pre class="code"><span class="info file"># File 'lib/bh1750.rb', line 17</span>
|
|
416
419
|
|
|
417
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier
|
|
420
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_device_address'>device_address</span><span class='op'>=</span><span class='const'>DEVICE</span><span class='comma'>,</span> <span class='id identifier rubyid_bus_number'>bus_number</span><span class='op'>=</span><span class='int'>1</span><span class='rparen'>)</span>
|
|
418
421
|
<span class='ivar'>@sensor_name</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>BH1750</span><span class='tstring_end'>'</span></span>
|
|
419
|
-
<span class='
|
|
422
|
+
<span class='const'><span class='object_link'><a href="Bus.html" title="Bus (module)">Bus</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Bus/I2C.html" title="Bus::I2C (class)">I2C</a></span></span><span class='period'>.</span><span class='id identifier rubyid_bus_number'><span class='object_link'><a href="Bus/I2C.html#bus_number-class_method" title="Bus::I2C.bus_number (method)">bus_number</a></span></span> <span class='op'>=</span> <span class='id identifier rubyid_bus_number'>bus_number</span>
|
|
423
|
+
<span class='ivar'>@device_address</span> <span class='op'>=</span> <span class='id identifier rubyid_device_address'>device_address</span>
|
|
424
|
+
|
|
425
|
+
<span class='ivar'>@i2c_bus</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Bus.html" title="Bus (module)">Bus</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Bus/I2C.html" title="Bus::I2C (class)">I2C</a></span></span><span class='period'>.</span><span class='id identifier rubyid_bus'><span class='object_link'><a href="Bus/I2C.html#bus-class_method" title="Bus::I2C.bus (method)">bus</a></span></span>
|
|
420
426
|
<span class='ivar'>@device</span> <span class='op'>=</span> <span class='const'>I2CDevice</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>address:</span> <span class='const'><span class='object_link'><a href="#DEVICE-constant" title="BH1750::DEVICE (constant)">DEVICE</a></span></span><span class='comma'>,</span> <span class='label'>driver:</span> <span class='const'>I2CDevice</span><span class='op'>::</span><span class='const'>Driver</span><span class='op'>::</span><span class='const'>I2CDev</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@i2c_bus</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
421
427
|
<span class='ivar'>@resolution</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="#ONE_TIME_HIGH_RES_MODE_1-constant" title="BH1750::ONE_TIME_HIGH_RES_MODE_1 (constant)">ONE_TIME_HIGH_RES_MODE_1</a></span></span>
|
|
422
428
|
<span class='ivar'>@length</span> <span class='op'>=</span> <span class='int'>2</span>
|
|
@@ -460,13 +466,13 @@
|
|
|
460
466
|
<pre class="lines">
|
|
461
467
|
|
|
462
468
|
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
469
|
+
36
|
|
470
|
+
37
|
|
471
|
+
38
|
|
472
|
+
39</pre>
|
|
467
473
|
</td>
|
|
468
474
|
<td>
|
|
469
|
-
<pre class="code"><span class="info file"># File 'lib/bh1750.rb', line
|
|
475
|
+
<pre class="code"><span class="info file"># File 'lib/bh1750.rb', line 36</span>
|
|
470
476
|
|
|
471
477
|
<span class='kw'>def</span> <span class='id identifier rubyid_lux'>lux</span>
|
|
472
478
|
<span class='id identifier rubyid_read_sensor'>read_sensor</span>
|
|
@@ -503,13 +509,13 @@
|
|
|
503
509
|
<pre class="lines">
|
|
504
510
|
|
|
505
511
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
512
|
+
30
|
|
513
|
+
31
|
|
514
|
+
32
|
|
515
|
+
33</pre>
|
|
510
516
|
</td>
|
|
511
517
|
<td>
|
|
512
|
-
<pre class="code"><span class="info file"># File 'lib/bh1750.rb', line
|
|
518
|
+
<pre class="code"><span class="info file"># File 'lib/bh1750.rb', line 30</span>
|
|
513
519
|
|
|
514
520
|
<span class='kw'>def</span> <span class='id identifier rubyid_read_sensor'>read_sensor</span>
|
|
515
521
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='ivar'>@device</span><span class='period'>.</span><span class='id identifier rubyid_i2cget'>i2cget</span><span class='lparen'>(</span><span class='ivar'>@resolution</span><span class='comma'>,</span> <span class='ivar'>@length</span><span class='rparen'>)</span>
|
|
@@ -525,7 +531,7 @@
|
|
|
525
531
|
</div>
|
|
526
532
|
|
|
527
533
|
<div id="footer">
|
|
528
|
-
Generated on
|
|
534
|
+
Generated on Mon Dec 17 17:41:40 2018 by
|
|
529
535
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
530
536
|
0.9.16 (ruby-2.3.3).
|
|
531
537
|
</div>
|
data/doc/BME280.html
CHANGED
|
@@ -245,12 +245,12 @@
|
|
|
245
245
|
<pre class="lines">
|
|
246
246
|
|
|
247
247
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
248
|
+
83
|
|
249
|
+
84
|
|
250
|
+
85</pre>
|
|
251
251
|
</td>
|
|
252
252
|
<td>
|
|
253
|
-
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line
|
|
253
|
+
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line 83</span>
|
|
254
254
|
|
|
255
255
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
|
256
256
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>BME280</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
</div>
|
|
267
267
|
|
|
268
268
|
<div id="footer">
|
|
269
|
-
Generated on
|
|
269
|
+
Generated on Mon Dec 17 17:41:43 2018 by
|
|
270
270
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
271
271
|
0.9.16 (ruby-2.3.3).
|
|
272
272
|
</div>
|
data/doc/BMP280.html
CHANGED
|
@@ -245,12 +245,12 @@
|
|
|
245
245
|
<pre class="lines">
|
|
246
246
|
|
|
247
247
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
248
|
+
77
|
|
249
|
+
78
|
|
250
|
+
79</pre>
|
|
251
251
|
</td>
|
|
252
252
|
<td>
|
|
253
|
-
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line
|
|
253
|
+
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line 77</span>
|
|
254
254
|
|
|
255
255
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
|
256
256
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>BMP280</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
</div>
|
|
267
267
|
|
|
268
268
|
<div id="footer">
|
|
269
|
-
Generated on
|
|
269
|
+
Generated on Mon Dec 17 17:41:42 2018 by
|
|
270
270
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
271
271
|
0.9.16 (ruby-2.3.3).
|
|
272
272
|
</div>
|
data/doc/BMxSensor.html
CHANGED
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
<li class="public ">
|
|
168
168
|
<span class="summary_signature">
|
|
169
169
|
|
|
170
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(sensor_name) ⇒ BMxSensor </a>
|
|
170
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(sensor_name, bus = 1) ⇒ BMxSensor </a>
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
<div class="method_details first">
|
|
316
316
|
<h3 class="signature first" id="initialize-instance_method">
|
|
317
317
|
|
|
318
|
-
#<strong>initialize</strong>(sensor_name) ⇒ <tt><span class='object_link'><a href="" title="BMxSensor (class)">BMxSensor</a></span></tt>
|
|
318
|
+
#<strong>initialize</strong>(sensor_name, bus = 1) ⇒ <tt><span class='object_link'><a href="" title="BMxSensor (class)">BMxSensor</a></span></tt>
|
|
319
319
|
|
|
320
320
|
|
|
321
321
|
|
|
@@ -338,20 +338,18 @@
|
|
|
338
338
|
<pre class="lines">
|
|
339
339
|
|
|
340
340
|
|
|
341
|
-
8
|
|
342
|
-
9
|
|
343
|
-
10
|
|
344
341
|
11
|
|
345
342
|
12
|
|
346
|
-
13
|
|
343
|
+
13
|
|
344
|
+
14
|
|
345
|
+
15</pre>
|
|
347
346
|
</td>
|
|
348
347
|
<td>
|
|
349
|
-
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line
|
|
348
|
+
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line 11</span>
|
|
350
349
|
|
|
351
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_sensor_name'>sensor_name</span><span class='rparen'>)</span>
|
|
350
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_sensor_name'>sensor_name</span><span class='comma'>,</span> <span class='id identifier rubyid_bus'>bus</span><span class='op'>=</span><span class='int'>1</span><span class='rparen'>)</span>
|
|
352
351
|
<span class='ivar'>@sensor_name</span> <span class='op'>=</span> <span class='id identifier rubyid_sensor_name'>sensor_name</span>
|
|
353
|
-
|
|
354
|
-
<span class='ivar'>@sensor</span> <span class='op'>=</span> <span class='const'>I2CDevice</span><span class='op'>::</span><span class='const'>Bme280</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
352
|
+
<span class='ivar'>@sensor</span> <span class='op'>=</span> <span class='const'>I2C</span><span class='op'>::</span><span class='const'>Driver</span><span class='op'>::</span><span class='const'>BME280</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>device:</span> <span class='id identifier rubyid_bus'>bus</span><span class='rparen'>)</span>
|
|
355
353
|
<span class='ivar'>@temperature</span><span class='comma'>,</span> <span class='ivar'>@humidity</span><span class='comma'>,</span> <span class='ivar'>@pressure</span> <span class='op'>=</span> <span class='id identifier rubyid_read_data'>read_data</span>
|
|
356
354
|
<span class='kw'>end</span></pre>
|
|
357
355
|
</td>
|
|
@@ -393,12 +391,12 @@
|
|
|
393
391
|
<pre class="lines">
|
|
394
392
|
|
|
395
393
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
394
|
+
26
|
|
395
|
+
27
|
|
396
|
+
28</pre>
|
|
399
397
|
</td>
|
|
400
398
|
<td>
|
|
401
|
-
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line
|
|
399
|
+
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line 26</span>
|
|
402
400
|
|
|
403
401
|
<span class='kw'>def</span> <span class='id identifier rubyid_hPa'>hPa</span>
|
|
404
402
|
<span class='ivar'>@pressure</span>
|
|
@@ -423,8 +421,6 @@
|
|
|
423
421
|
<pre class="lines">
|
|
424
422
|
|
|
425
423
|
|
|
426
|
-
28
|
|
427
|
-
29
|
|
428
424
|
30
|
|
429
425
|
31
|
|
430
426
|
32
|
|
@@ -444,10 +440,12 @@
|
|
|
444
440
|
46
|
|
445
441
|
47
|
|
446
442
|
48
|
|
447
|
-
49
|
|
443
|
+
49
|
|
444
|
+
50
|
|
445
|
+
51</pre>
|
|
448
446
|
</td>
|
|
449
447
|
<td>
|
|
450
|
-
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line
|
|
448
|
+
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line 30</span>
|
|
451
449
|
|
|
452
450
|
<span class='kw'>def</span> <span class='id identifier rubyid_pressure'>pressure</span><span class='lparen'>(</span><span class='id identifier rubyid_mode'>mode</span><span class='op'>=</span><span class='symbol'>:hPa</span><span class='rparen'>)</span>
|
|
453
451
|
<span class='kw'>case</span> <span class='id identifier rubyid_mode'>mode</span>
|
|
@@ -491,22 +489,22 @@
|
|
|
491
489
|
<pre class="lines">
|
|
492
490
|
|
|
493
491
|
|
|
494
|
-
15
|
|
495
|
-
16
|
|
496
492
|
17
|
|
497
493
|
18
|
|
498
494
|
19
|
|
499
495
|
20
|
|
500
|
-
21
|
|
496
|
+
21
|
|
497
|
+
22
|
|
498
|
+
23</pre>
|
|
501
499
|
</td>
|
|
502
500
|
<td>
|
|
503
|
-
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line
|
|
501
|
+
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line 17</span>
|
|
504
502
|
|
|
505
503
|
<span class='kw'>def</span> <span class='id identifier rubyid_read_data'>read_data</span>
|
|
506
|
-
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='ivar'>@sensor</span><span class='period'>.</span><span class='id identifier
|
|
507
|
-
<span class='ivar'>@temperature</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:
|
|
508
|
-
<span class='ivar'>@pressure</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:
|
|
509
|
-
<span class='ivar'>@humidity</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:
|
|
504
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='ivar'>@sensor</span><span class='period'>.</span><span class='id identifier rubyid_all'>all</span>
|
|
505
|
+
<span class='ivar'>@temperature</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:t</span><span class='rbracket'>]</span>
|
|
506
|
+
<span class='ivar'>@pressure</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:p</span><span class='rbracket'>]</span>
|
|
507
|
+
<span class='ivar'>@humidity</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:h</span><span class='rbracket'>]</span>
|
|
510
508
|
<span class='lbracket'>[</span><span class='ivar'>@temperature</span><span class='comma'>,</span> <span class='ivar'>@humidity</span><span class='comma'>,</span> <span class='ivar'>@pressure</span><span class='rbracket'>]</span>
|
|
511
509
|
<span class='kw'>end</span></pre>
|
|
512
510
|
</td>
|
|
@@ -529,12 +527,12 @@
|
|
|
529
527
|
<pre class="lines">
|
|
530
528
|
|
|
531
529
|
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
530
|
+
53
|
|
531
|
+
54
|
|
532
|
+
55</pre>
|
|
535
533
|
</td>
|
|
536
534
|
<td>
|
|
537
|
-
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line
|
|
535
|
+
<pre class="code"><span class="info file"># File 'lib/bmx_sensor.rb', line 53</span>
|
|
538
536
|
|
|
539
537
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
|
540
538
|
<span class='id identifier rubyid_sprintf'>sprintf</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%5.2f°C, %5.2f %%, %5.2f mmHg</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='ivar'>@temperature</span><span class='comma'>,</span> <span class='ivar'>@humidity</span><span class='comma'>,</span> <span class='id identifier rubyid_pressure'>pressure</span><span class='lparen'>(</span><span class='symbol'>:mmHg</span><span class='rparen'>)</span>
|
|
@@ -549,7 +547,7 @@
|
|
|
549
547
|
</div>
|
|
550
548
|
|
|
551
549
|
<div id="footer">
|
|
552
|
-
Generated on
|
|
550
|
+
Generated on Mon Dec 17 17:41:41 2018 by
|
|
553
551
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
554
552
|
0.9.16 (ruby-2.3.3).
|
|
555
553
|
</div>
|
data/doc/BinaryActuator.html
CHANGED
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
</div>
|
|
168
168
|
|
|
169
169
|
<div id="footer">
|
|
170
|
-
Generated on
|
|
170
|
+
Generated on Mon Dec 17 17:41:40 2018 by
|
|
171
171
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
172
172
|
0.9.16 (ruby-2.3.3).
|
|
173
173
|
</div>
|
data/doc/BinaryEffector.html
CHANGED
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
</div>
|
|
237
237
|
|
|
238
238
|
<div id="footer">
|
|
239
|
-
Generated on
|
|
239
|
+
Generated on Mon Dec 17 17:41:40 2018 by
|
|
240
240
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
241
241
|
0.9.16 (ruby-2.3.3).
|
|
242
242
|
</div>
|
data/doc/BinaryReceptor.html
CHANGED
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
</div>
|
|
378
378
|
|
|
379
379
|
<div id="footer">
|
|
380
|
-
Generated on
|
|
380
|
+
Generated on Mon Dec 17 17:41:40 2018 by
|
|
381
381
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
382
382
|
0.9.16 (ruby-2.3.3).
|
|
383
383
|
</div>
|
data/doc/BinarySensor.html
CHANGED
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
</div>
|
|
159
159
|
|
|
160
160
|
<div id="footer">
|
|
161
|
-
Generated on
|
|
161
|
+
Generated on Mon Dec 17 17:41:40 2018 by
|
|
162
162
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
163
163
|
0.9.16 (ruby-2.3.3).
|
|
164
164
|
</div>
|
data/doc/Bus.html
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Mon Dec 17 17:41:39 2018 by
|
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
121
|
0.9.16 (ruby-2.3.3).
|
|
122
122
|
</div>
|
data/doc/Button.html
CHANGED
|
@@ -976,7 +976,7 @@
|
|
|
976
976
|
</div>
|
|
977
977
|
|
|
978
978
|
<div id="footer">
|
|
979
|
-
Generated on
|
|
979
|
+
Generated on Mon Dec 17 17:41:45 2018 by
|
|
980
980
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
981
981
|
0.9.16 (ruby-2.3.3).
|
|
982
982
|
</div>
|
data/doc/DHT11.html
CHANGED
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
</div>
|
|
278
278
|
|
|
279
279
|
<div id="footer">
|
|
280
|
-
Generated on
|
|
280
|
+
Generated on Mon Dec 17 17:41:46 2018 by
|
|
281
281
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
282
282
|
0.9.16 (ruby-2.3.3).
|
|
283
283
|
</div>
|
data/doc/DHT22.html
CHANGED
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
</div>
|
|
278
278
|
|
|
279
279
|
<div id="footer">
|
|
280
|
-
Generated on
|
|
280
|
+
Generated on Mon Dec 17 17:41:47 2018 by
|
|
281
281
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
282
282
|
0.9.16 (ruby-2.3.3).
|
|
283
283
|
</div>
|
data/doc/DHTxxSensor.html
CHANGED
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
</div>
|
|
352
352
|
|
|
353
353
|
<div id="footer">
|
|
354
|
-
Generated on
|
|
354
|
+
Generated on Mon Dec 17 17:41:45 2018 by
|
|
355
355
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
356
356
|
0.9.16 (ruby-2.3.3).
|
|
357
357
|
</div>
|
data/doc/DS18B20.html
CHANGED
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
<span class='kw'>if</span> <span class='ivar'>@sensor_file</span>
|
|
272
272
|
<span class='ivar'>@temperature</span> <span class='op'>=</span> <span class='id identifier rubyid_read_data'>read_data</span>
|
|
273
273
|
<span class='kw'>else</span>
|
|
274
|
-
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='
|
|
274
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_content'> - Sensor NOT FOUND!</span><span class='tstring_end'>"</span></span>
|
|
275
275
|
<span class='kw'>end</span>
|
|
276
276
|
<span class='kw'>end</span></pre>
|
|
277
277
|
</td>
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
</div>
|
|
330
330
|
|
|
331
331
|
<div id="footer">
|
|
332
|
-
Generated on
|
|
332
|
+
Generated on Mon Dec 17 17:41:49 2018 by
|
|
333
333
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
334
334
|
0.9.16 (ruby-2.3.3).
|
|
335
335
|
</div>
|
data/doc/DigitalActuator.html
CHANGED
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
<dl>
|
|
100
100
|
<dt>Defined in:</dt>
|
|
101
|
-
<dd>lib/
|
|
101
|
+
<dd>lib/digital_actuator.rb</dd>
|
|
102
102
|
</dl>
|
|
103
103
|
|
|
104
104
|
</div>
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
<h2>Overview</h2><div class="docstring">
|
|
107
107
|
<div class="discussion">
|
|
108
108
|
|
|
109
|
-
<p>DigitalActuator - synonym for DigitalEffector</p>
|
|
109
|
+
<p>DigitalActuator - a synonym for DigitalEffector</p>
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
</div>
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
</div>
|
|
155
155
|
|
|
156
156
|
<div id="footer">
|
|
157
|
-
Generated on
|
|
157
|
+
Generated on Mon Dec 17 17:41:47 2018 by
|
|
158
158
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
159
159
|
0.9.16 (ruby-2.3.3).
|
|
160
160
|
</div>
|
data/doc/DigitalEffector.html
CHANGED
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
<pre class="code"><span class="info file"># File 'lib/digital_effector.rb', line 49</span>
|
|
519
519
|
|
|
520
520
|
<span class='kw'>def</span> <span class='id identifier rubyid_off?'>off?</span><span class='lparen'>(</span><span class='id identifier rubyid_pin'>pin</span><span class='op'>=</span><span class='ivar'>@pin</span><span class='rparen'>)</span>
|
|
521
|
-
<span class='
|
|
521
|
+
<span class='op'>!</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='id identifier rubyid_pin'>pin</span><span class='rparen'>)</span>
|
|
522
522
|
<span class='kw'>end</span></pre>
|
|
523
523
|
</td>
|
|
524
524
|
</tr>
|
|
@@ -626,7 +626,7 @@
|
|
|
626
626
|
</div>
|
|
627
627
|
|
|
628
628
|
<div id="footer">
|
|
629
|
-
Generated on
|
|
629
|
+
Generated on Mon Dec 17 17:41:48 2018 by
|
|
630
630
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
631
631
|
0.9.16 (ruby-2.3.3).
|
|
632
632
|
</div>
|
data/doc/DigitalReceptor.html
CHANGED
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
</div>
|
|
233
233
|
|
|
234
234
|
<div id="footer">
|
|
235
|
-
Generated on
|
|
235
|
+
Generated on Mon Dec 17 17:41:48 2018 by
|
|
236
236
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
237
237
|
0.9.16 (ruby-2.3.3).
|
|
238
238
|
</div>
|
data/doc/DigitalSensor.html
CHANGED
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
<dl>
|
|
100
100
|
<dt>Defined in:</dt>
|
|
101
|
-
<dd>lib/
|
|
101
|
+
<dd>lib/digital_sensor.rb</dd>
|
|
102
102
|
</dl>
|
|
103
103
|
|
|
104
104
|
</div>
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
</div>
|
|
153
153
|
|
|
154
154
|
<div id="footer">
|
|
155
|
-
Generated on
|
|
155
|
+
Generated on Mon Dec 17 17:41:48 2018 by
|
|
156
156
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
157
157
|
0.9.16 (ruby-2.3.3).
|
|
158
158
|
</div>
|
data/doc/Effector.html
CHANGED
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
</div>
|
|
248
248
|
|
|
249
249
|
<div id="footer">
|
|
250
|
-
Generated on
|
|
250
|
+
Generated on Mon Dec 17 17:41:49 2018 by
|
|
251
251
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
252
252
|
0.9.16 (ruby-2.3.3).
|
|
253
253
|
</div>
|
data/doc/HCSR501.html
CHANGED
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
</div>
|
|
163
163
|
|
|
164
164
|
<div id="footer">
|
|
165
|
-
Generated on
|
|
165
|
+
Generated on Mon Dec 17 17:41:49 2018 by
|
|
166
166
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
167
167
|
0.9.16 (ruby-2.3.3).
|
|
168
168
|
</div>
|
data/doc/HumitureSensor.html
CHANGED
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
</div>
|
|
444
444
|
|
|
445
445
|
<div id="footer">
|
|
446
|
-
Generated on
|
|
446
|
+
Generated on Mon Dec 17 17:41:50 2018 by
|
|
447
447
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
448
448
|
0.9.16 (ruby-2.3.3).
|
|
449
449
|
</div>
|
data/doc/IoT.html
CHANGED
|
@@ -94,7 +94,17 @@
|
|
|
94
94
|
<div class="tags">
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
</div>
|
|
97
|
+
</div><h2>Defined Under Namespace</h2>
|
|
98
|
+
<p class="children">
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="IoT/Log.html" title="IoT::Log (class)">Log</a></span>
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
</p>
|
|
107
|
+
|
|
98
108
|
|
|
99
109
|
|
|
100
110
|
|
|
@@ -106,7 +116,7 @@
|
|
|
106
116
|
</div>
|
|
107
117
|
|
|
108
118
|
<div id="footer">
|
|
109
|
-
Generated on
|
|
119
|
+
Generated on Mon Dec 17 17:41:39 2018 by
|
|
110
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
111
121
|
0.9.16 (ruby-2.3.3).
|
|
112
122
|
</div>
|
data/doc/LED.html
CHANGED
|
@@ -774,7 +774,7 @@ secs, then pause for 'switched_off' secs</p>
|
|
|
774
774
|
</div>
|
|
775
775
|
|
|
776
776
|
<div id="footer">
|
|
777
|
-
Generated on
|
|
777
|
+
Generated on Mon Dec 17 17:41:51 2018 by
|
|
778
778
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
779
779
|
0.9.16 (ruby-2.3.3).
|
|
780
780
|
</div>
|
data/doc/MAX44009.html
CHANGED
|
@@ -820,7 +820,7 @@ applications</p>
|
|
|
820
820
|
</div>
|
|
821
821
|
|
|
822
822
|
<div id="footer">
|
|
823
|
-
Generated on
|
|
823
|
+
Generated on Mon Dec 17 17:41:53 2018 by
|
|
824
824
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
825
825
|
0.9.16 (ruby-2.3.3).
|
|
826
826
|
</div>
|