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.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/doc/Actuator.html +1 -1
  3. data/doc/BH1750.html +22 -16
  4. data/doc/BME280.html +5 -5
  5. data/doc/BMP280.html +5 -5
  6. data/doc/BMxSensor.html +29 -31
  7. data/doc/BinaryActuator.html +1 -1
  8. data/doc/BinaryEffector.html +1 -1
  9. data/doc/BinaryReceptor.html +1 -1
  10. data/doc/BinarySensor.html +1 -1
  11. data/doc/Bus.html +1 -1
  12. data/doc/Button.html +1 -1
  13. data/doc/DHT11.html +1 -1
  14. data/doc/DHT22.html +1 -1
  15. data/doc/DHTxxSensor.html +1 -1
  16. data/doc/DS18B20.html +2 -2
  17. data/doc/DigitalActuator.html +3 -3
  18. data/doc/DigitalEffector.html +2 -2
  19. data/doc/DigitalReceptor.html +1 -1
  20. data/doc/DigitalSensor.html +2 -2
  21. data/doc/Effector.html +1 -1
  22. data/doc/HCSR501.html +1 -1
  23. data/doc/HumitureSensor.html +1 -1
  24. data/doc/IoT.html +12 -2
  25. data/doc/LED.html +1 -1
  26. data/doc/MAX44009.html +1 -1
  27. data/doc/RaspberryPi.html +30 -22
  28. data/doc/Receptor.html +1 -1
  29. data/doc/Sensor.html +1 -1
  30. data/doc/TemperatureSensor.html +1 -1
  31. data/doc/_index.html +17 -1
  32. data/doc/class_list.html +1 -1
  33. data/doc/file.README.html +80 -0
  34. data/doc/file_list.html +5 -0
  35. data/doc/index.html +18 -317
  36. data/doc/method_list.html +96 -48
  37. data/doc/top-level-namespace.html +1 -1
  38. data/lib/bh1750.rb +5 -2
  39. data/lib/bus.rb +25 -1
  40. data/lib/digital_actuator.rb +5 -0
  41. data/lib/digital_effector.rb +1 -5
  42. data/lib/digital_receptor.rb +0 -4
  43. data/lib/digital_sensor.rb +5 -0
  44. data/lib/ds18b20.rb +1 -1
  45. data/lib/iot.rb +15 -0
  46. data/lib/led_rgb.rb +1 -0
  47. data/lib/raspberry_pi.rb +11 -19
  48. data/lib/temperature_sensor.rb +1 -1
  49. data/lib/thermal_sensor.rb +1 -1
  50. metadata +5 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6082d62ad7318f3ad1bab5715b3282bf06aae12f
4
- data.tar.gz: 311cfa96dc3bfd566f014f68b8e5ec448f51df7c
3
+ metadata.gz: 3f9acf5ec32f8be64229816cd7ca811736ad4a0c
4
+ data.tar.gz: d4799ab12c39f1f0d74e46d49e2230d9dae8601a
5
5
  SHA512:
6
- metadata.gz: 792dd96cf49eed36d1b153e42087ece67433152cfe1e73ccdb184e2d257c85a9905c69a5db1aa220fb42925fb33605f58317d9764d580eacd7a81591a5e14c0d
7
- data.tar.gz: f9f77e82f2340d46ee496c0d54107f8db7644b32d664c3753f67c15f5f917e7aad70944bd5aaab4c70b663b2c2d19f997817d8528d672abc8b987f0263c201ee
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 Tue Dec 11 17:46:35 2018 by
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>(i2c_bus = &#39;/dev/i2c-1&#39;) &#x21d2; BH1750 </a>
302
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(device_address = DEVICE, bus_number = 1) &#x21d2; 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>(i2c_bus = &#39;/dev/i2c-1&#39;) &#x21d2; <tt><span class='object_link'><a href="" title="BH1750 (class)">BH1750</a></span></tt>
382
+ #<strong>initialize</strong>(device_address = DEVICE, bus_number = 1) &#x21d2; <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</pre>
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 rubyid_i2c_bus'>i2c_bus</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/dev/i2c-1</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
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'>&#39;</span><span class='tstring_content'>BH1750</span><span class='tstring_end'>&#39;</span></span>
419
- <span class='ivar'>@i2c_bus</span> <span class='op'>=</span> <span class='id identifier rubyid_i2c_bus'>i2c_bus</span>
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
- 33
464
- 34
465
- 35
466
- 36</pre>
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 33</span>
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
- 27
507
- 28
508
- 29
509
- 30</pre>
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 27</span>
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 Tue Dec 11 17:46:26 2018 by
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
- 63
249
- 64
250
- 65</pre>
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 63</span>
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'>&#39;</span><span class='tstring_content'>BME280</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
@@ -266,7 +266,7 @@
266
266
  </div>
267
267
 
268
268
  <div id="footer">
269
- Generated on Tue Dec 11 17:46:29 2018 by
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
- 57
249
- 58
250
- 59</pre>
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 57</span>
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'>&#39;</span><span class='tstring_content'>BMP280</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
@@ -266,7 +266,7 @@
266
266
  </div>
267
267
 
268
268
  <div id="footer">
269
- Generated on Tue Dec 11 17:46:28 2018 by
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) &#x21d2; BMxSensor </a>
170
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(sensor_name, bus = 1) &#x21d2; 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) &#x21d2; <tt><span class='object_link'><a href="" title="BMxSensor (class)">BMxSensor</a></span></tt>
318
+ #<strong>initialize</strong>(sensor_name, bus = 1) &#x21d2; <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</pre>
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 8</span>
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
- 24
397
- 25
398
- 26</pre>
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 24</span>
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</pre>
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 28</span>
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</pre>
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 15</span>
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 rubyid_calc_sensor_data'>calc_sensor_data</span>
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'>:temp</span><span class='rbracket'>]</span>
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'>:pressure</span><span class='rbracket'>]</span>
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'>:hum</span><span class='rbracket'>]</span>
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
- 51
533
- 52
534
- 53</pre>
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 51</span>
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'>&quot;</span><span class='tstring_content'>%5.2f°C, %5.2f %%, %5.2f mmHg</span><span class='tstring_end'>&quot;</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 Tue Dec 11 17:46:27 2018 by
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>
@@ -167,7 +167,7 @@
167
167
  </div>
168
168
 
169
169
  <div id="footer">
170
- Generated on Tue Dec 11 17:46:26 2018 by
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>
@@ -236,7 +236,7 @@
236
236
  </div>
237
237
 
238
238
  <div id="footer">
239
- Generated on Tue Dec 11 17:46:26 2018 by
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>
@@ -377,7 +377,7 @@
377
377
  </div>
378
378
 
379
379
  <div id="footer">
380
- Generated on Tue Dec 11 17:46:26 2018 by
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>
@@ -158,7 +158,7 @@
158
158
  </div>
159
159
 
160
160
  <div id="footer">
161
- Generated on Tue Dec 11 17:46:27 2018 by
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 Tue Dec 11 17:46:25 2018 by
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 Tue Dec 11 17:46:31 2018 by
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 Tue Dec 11 17:46:32 2018 by
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 Tue Dec 11 17:46:33 2018 by
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 Tue Dec 11 17:46:31 2018 by
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'>&quot;</span><span class='embexpr_beg'>#{</span><span class='ivar'>@sensor_name</span><span class='embexpr_end'>}</span><span class='tstring_content'> - Sensor NOT FOUND!</span><span class='tstring_end'>&quot;</span></span>
274
+ <span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>&quot;</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'>&quot;</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 Tue Dec 11 17:46:35 2018 by
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>
@@ -98,7 +98,7 @@
98
98
 
99
99
  <dl>
100
100
  <dt>Defined in:</dt>
101
- <dd>lib/digital_effector.rb</dd>
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 Tue Dec 11 17:46:34 2018 by
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>
@@ -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='kw'>not</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>
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 Tue Dec 11 17:46:34 2018 by
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>
@@ -232,7 +232,7 @@
232
232
  </div>
233
233
 
234
234
  <div id="footer">
235
- Generated on Tue Dec 11 17:46:34 2018 by
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>
@@ -98,7 +98,7 @@
98
98
 
99
99
  <dl>
100
100
  <dt>Defined in:</dt>
101
- <dd>lib/digital_receptor.rb</dd>
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 Tue Dec 11 17:46:34 2018 by
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 Tue Dec 11 17:46:35 2018 by
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 Tue Dec 11 17:46:35 2018 by
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>
@@ -443,7 +443,7 @@
443
443
  </div>
444
444
 
445
445
  <div id="footer">
446
- Generated on Tue Dec 11 17:46:36 2018 by
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 Tue Dec 11 17:46:25 2018 by
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 &#39;switched_off&#39; secs</p>
774
774
  </div>
775
775
 
776
776
  <div id="footer">
777
- Generated on Tue Dec 11 17:46:37 2018 by
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 Tue Dec 11 17:46:39 2018 by
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>