raspberry_pi_iot 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/doc/Actuator.html +1 -1
  3. data/doc/BH1750.html +1 -1
  4. data/doc/BME280.html +1 -1
  5. data/doc/BMP280.html +1 -1
  6. data/doc/BMxSensor.html +1 -1
  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 +343 -53
  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 +1 -1
  17. data/doc/DigitalActuator.html +1 -1
  18. data/doc/DigitalEffector.html +16 -28
  19. data/doc/DigitalReceptor.html +1 -1
  20. data/doc/DigitalSensor.html +1 -1
  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 +1 -1
  25. data/doc/LED.html +99 -47
  26. data/doc/MAX44009.html +1 -1
  27. data/doc/RaspberryPi.html +1 -1
  28. data/doc/RaspberryPiIoT.html +115 -0
  29. data/doc/Receptor.html +1 -1
  30. data/doc/Sensor.html +1 -1
  31. data/doc/TemperatureSensor.html +1 -1
  32. data/doc/_index.html +16 -1
  33. data/doc/class_list.html +1 -1
  34. data/doc/file.LICENSE.html +92 -0
  35. data/doc/file.README.html +26 -4
  36. data/doc/file_list.html +5 -0
  37. data/doc/index.html +26 -4
  38. data/doc/method_list.html +105 -113
  39. data/doc/top-level-namespace.html +2 -2
  40. data/lib/button.rb +28 -4
  41. data/lib/digital_effector.rb +8 -14
  42. data/lib/led.rb +4 -0
  43. data/lib/led_rgb.rb +27 -44
  44. data/lib/raspberry_pi_iot.rb +7 -0
  45. data/test/test_Raspberry_Pi_IoT.rb +11 -0
  46. data/test/test_button.rb +9 -3
  47. data/test/test_helper.rb +4 -0
  48. data/test/test_led.rb +4 -4
  49. data/test/test_led_rgb.rb +25 -2
  50. data/test/test_thermal.rb +27 -0
  51. metadata +69 -4
data/doc/_index.html CHANGED
@@ -63,6 +63,9 @@
63
63
  <li class="r1"><a href="index.html" title="README">README</a></li>
64
64
 
65
65
 
66
+ <li class="r2"><a href="file.LICENSE.html" title="LICENSE">LICENSE</a></li>
67
+
68
+
66
69
  </ul>
67
70
 
68
71
  <div class="clear"></div>
@@ -204,6 +207,13 @@
204
207
 
205
208
  </li>
206
209
 
210
+ <li>
211
+ <span class='object_link'><a href="RaspberryPiIoT/Error.html" title="RaspberryPiIoT::Error (class)">Error</a></span>
212
+
213
+ <small>(RaspberryPiIoT)</small>
214
+
215
+ </li>
216
+
207
217
  </ul>
208
218
  </ul>
209
219
 
@@ -328,6 +338,11 @@
328
338
 
329
339
  </li>
330
340
 
341
+ <li>
342
+ <span class='object_link'><a href="RaspberryPiIoT.html" title="RaspberryPiIoT (module)">RaspberryPiIoT</a></span>
343
+
344
+ </li>
345
+
331
346
  <li>
332
347
  <span class='object_link'><a href="Receptor.html" title="Receptor (class)">Receptor</a></span>
333
348
 
@@ -385,7 +400,7 @@
385
400
  </div>
386
401
 
387
402
  <div id="footer">
388
- Generated on Tue Dec 18 16:03:36 2018 by
403
+ Generated on Thu Dec 20 18:09:36 2018 by
389
404
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
390
405
  0.9.16 (ruby-2.3.3).
391
406
  </div>
data/doc/class_list.html CHANGED
@@ -43,7 +43,7 @@
43
43
 
44
44
  <ul id="full_list" class="class">
45
45
  <li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
46
- <li id='object_Actuator' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Actuator.html" title="Actuator (class)">Actuator</a></span> &lt; Effector<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BH1750' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BH1750.html" title="BH1750 (class)">BH1750</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BME280' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BME280.html" title="BME280 (class)">BME280</a></span> &lt; BMxSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BMP280' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BMP280.html" title="BMP280 (class)">BMP280</a></span> &lt; BMxSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BMxSensor' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BMxSensor.html" title="BMxSensor (class)">BMxSensor</a></span> &lt; HumitureSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BinaryActuator' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BinaryActuator.html" title="BinaryActuator (class)">BinaryActuator</a></span> &lt; BinaryEffector<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BinaryEffector' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BinaryEffector.html" title="BinaryEffector (class)">BinaryEffector</a></span> &lt; DigitalEffector<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BinaryReceptor' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BinaryReceptor.html" title="BinaryReceptor (class)">BinaryReceptor</a></span> &lt; Receptor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BinarySensor' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BinarySensor.html" title="BinarySensor (class)">BinarySensor</a></span> &lt; BinaryReceptor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_Bus' class='odd'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Bus.html" title="Bus (module)">Bus</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Bus::I2C' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Bus/I2C.html" title="Bus::I2C (class)">I2C</a></span> &lt; Object<small class='search_info'>Bus</small></div></li><li id='object_Bus::OneWire' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Bus/OneWire.html" title="Bus::OneWire (class)">OneWire</a></span> &lt; Object<small class='search_info'>Bus</small></div></li><li id='object_Bus::SPI' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Bus/SPI.html" title="Bus::SPI (class)">SPI</a></span> &lt; Object<small class='search_info'>Bus</small></div></li></ul></li><li id='object_Button' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Button.html" title="Button (class)">Button</a></span> &lt; BinaryReceptor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DHT11' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DHT11.html" title="DHT11 (class)">DHT11</a></span> &lt; DHTxxSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DHT22' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DHT22.html" title="DHT22 (class)">DHT22</a></span> &lt; DHTxxSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DHTxxSensor' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DHTxxSensor.html" title="DHTxxSensor (class)">DHTxxSensor</a></span> &lt; HumitureSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DS18B20' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DS18B20.html" title="DS18B20 (class)">DS18B20</a></span> &lt; TemperatureSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DigitalActuator' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DigitalActuator.html" title="DigitalActuator (class)">DigitalActuator</a></span> &lt; DigitalEffector<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DigitalEffector' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DigitalEffector.html" title="DigitalEffector (class)">DigitalEffector</a></span> &lt; Effector<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DigitalReceptor' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DigitalReceptor.html" title="DigitalReceptor (class)">DigitalReceptor</a></span> &lt; Receptor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DigitalSensor' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DigitalSensor.html" title="DigitalSensor (class)">DigitalSensor</a></span> &lt; DigitalReceptor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_Effector' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Effector.html" title="Effector (class)">Effector</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></div></li><li id='object_HCSR501' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="HCSR501.html" title="HCSR501 (class)">HCSR501</a></span> &lt; BinarySensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_HumitureSensor' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="HumitureSensor.html" title="HumitureSensor (class)">HumitureSensor</a></span> &lt; TemperatureSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_IoT' class='odd'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="IoT.html" title="IoT (module)">IoT</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_IoT::Log' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/Log.html" title="IoT::Log (class)">Log</a></span> &lt; Object<small class='search_info'>IoT</small></div></li></ul></li><li id='object_LED' class='odd'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="LED.html" title="LED (class)">LED</a></span> &lt; BinaryEffector<small class='search_info'>Top Level Namespace</small></div><ul><li id='object_LED::PWM' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="LED/PWM.html" title="LED::PWM (class)">PWM</a></span> &lt; Object<small class='search_info'>LED</small></div></li><li id='object_LED::RGB' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="LED/RGB.html" title="LED::RGB (class)">RGB</a></span> &lt; DigitalEffector<small class='search_info'>LED</small></div></li></ul></li><li id='object_MAX44009' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="MAX44009.html" title="MAX44009 (class)">MAX44009</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></div></li><li id='object_RaspberryPi' class='odd'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="RaspberryPi.html" title="RaspberryPi (module)">RaspberryPi</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_RaspberryPi::ThermalSensor' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="RaspberryPi/ThermalSensor.html" title="RaspberryPi::ThermalSensor (class)">ThermalSensor</a></span> &lt; TemperatureSensor<small class='search_info'>RaspberryPi</small></div></li></ul></li><li id='object_Receptor' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Receptor.html" title="Receptor (class)">Receptor</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></div></li><li id='object_Sensor' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Sensor.html" title="Sensor (class)">Sensor</a></span> &lt; Receptor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_TemperatureSensor' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="TemperatureSensor.html" title="TemperatureSensor (class)">TemperatureSensor</a></span> &lt; DigitalSensor<small class='search_info'>Top Level Namespace</small></div></li>
46
+ <li id='object_Actuator' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Actuator.html" title="Actuator (class)">Actuator</a></span> &lt; Effector<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BH1750' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BH1750.html" title="BH1750 (class)">BH1750</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BME280' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BME280.html" title="BME280 (class)">BME280</a></span> &lt; BMxSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BMP280' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BMP280.html" title="BMP280 (class)">BMP280</a></span> &lt; BMxSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BMxSensor' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BMxSensor.html" title="BMxSensor (class)">BMxSensor</a></span> &lt; HumitureSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BinaryActuator' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BinaryActuator.html" title="BinaryActuator (class)">BinaryActuator</a></span> &lt; BinaryEffector<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BinaryEffector' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BinaryEffector.html" title="BinaryEffector (class)">BinaryEffector</a></span> &lt; DigitalEffector<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BinaryReceptor' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BinaryReceptor.html" title="BinaryReceptor (class)">BinaryReceptor</a></span> &lt; Receptor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_BinarySensor' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="BinarySensor.html" title="BinarySensor (class)">BinarySensor</a></span> &lt; BinaryReceptor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_Bus' class='odd'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Bus.html" title="Bus (module)">Bus</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Bus::I2C' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Bus/I2C.html" title="Bus::I2C (class)">I2C</a></span> &lt; Object<small class='search_info'>Bus</small></div></li><li id='object_Bus::OneWire' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Bus/OneWire.html" title="Bus::OneWire (class)">OneWire</a></span> &lt; Object<small class='search_info'>Bus</small></div></li><li id='object_Bus::SPI' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Bus/SPI.html" title="Bus::SPI (class)">SPI</a></span> &lt; Object<small class='search_info'>Bus</small></div></li></ul></li><li id='object_Button' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Button.html" title="Button (class)">Button</a></span> &lt; BinaryReceptor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DHT11' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DHT11.html" title="DHT11 (class)">DHT11</a></span> &lt; DHTxxSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DHT22' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DHT22.html" title="DHT22 (class)">DHT22</a></span> &lt; DHTxxSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DHTxxSensor' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DHTxxSensor.html" title="DHTxxSensor (class)">DHTxxSensor</a></span> &lt; HumitureSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DS18B20' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DS18B20.html" title="DS18B20 (class)">DS18B20</a></span> &lt; TemperatureSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DigitalActuator' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DigitalActuator.html" title="DigitalActuator (class)">DigitalActuator</a></span> &lt; DigitalEffector<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DigitalEffector' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DigitalEffector.html" title="DigitalEffector (class)">DigitalEffector</a></span> &lt; Effector<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DigitalReceptor' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DigitalReceptor.html" title="DigitalReceptor (class)">DigitalReceptor</a></span> &lt; Receptor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_DigitalSensor' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="DigitalSensor.html" title="DigitalSensor (class)">DigitalSensor</a></span> &lt; DigitalReceptor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_Effector' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Effector.html" title="Effector (class)">Effector</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></div></li><li id='object_HCSR501' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="HCSR501.html" title="HCSR501 (class)">HCSR501</a></span> &lt; BinarySensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_HumitureSensor' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="HumitureSensor.html" title="HumitureSensor (class)">HumitureSensor</a></span> &lt; TemperatureSensor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_IoT' class='odd'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="IoT.html" title="IoT (module)">IoT</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_IoT::Log' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/Log.html" title="IoT::Log (class)">Log</a></span> &lt; Object<small class='search_info'>IoT</small></div></li></ul></li><li id='object_LED' class='odd'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="LED.html" title="LED (class)">LED</a></span> &lt; BinaryEffector<small class='search_info'>Top Level Namespace</small></div><ul><li id='object_LED::PWM' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="LED/PWM.html" title="LED::PWM (class)">PWM</a></span> &lt; Object<small class='search_info'>LED</small></div></li><li id='object_LED::RGB' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="LED/RGB.html" title="LED::RGB (class)">RGB</a></span> &lt; DigitalEffector<small class='search_info'>LED</small></div></li></ul></li><li id='object_MAX44009' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="MAX44009.html" title="MAX44009 (class)">MAX44009</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></div></li><li id='object_RaspberryPi' class='odd'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="RaspberryPi.html" title="RaspberryPi (module)">RaspberryPi</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_RaspberryPi::ThermalSensor' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="RaspberryPi/ThermalSensor.html" title="RaspberryPi::ThermalSensor (class)">ThermalSensor</a></span> &lt; TemperatureSensor<small class='search_info'>RaspberryPi</small></div></li></ul></li><li id='object_RaspberryPiIoT' class='odd'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="RaspberryPiIoT.html" title="RaspberryPiIoT (module)">RaspberryPiIoT</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_RaspberryPiIoT::Error' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="RaspberryPiIoT/Error.html" title="RaspberryPiIoT::Error (class)">Error</a></span> &lt; StandardError<small class='search_info'>RaspberryPiIoT</small></div></li></ul></li><li id='object_Receptor' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Receptor.html" title="Receptor (class)">Receptor</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></div></li><li id='object_Sensor' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Sensor.html" title="Sensor (class)">Sensor</a></span> &lt; Receptor<small class='search_info'>Top Level Namespace</small></div></li><li id='object_TemperatureSensor' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="TemperatureSensor.html" title="TemperatureSensor (class)">TemperatureSensor</a></span> &lt; DigitalSensor<small class='search_info'>Top Level Namespace</small></div></li>
47
47
 
48
48
  </ul>
49
49
  </div>
@@ -0,0 +1,92 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ File: LICENSE
8
+
9
+ &mdash; Documentation by YARD 0.9.16
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "LICENSE";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="file_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index</a> &raquo;
40
+ <span class="title">File: LICENSE</span>
41
+
42
+ </div>
43
+
44
+ <div id="search">
45
+
46
+ <a class="full_list_link" id="class_list_link"
47
+ href="class_list.html">
48
+
49
+ <svg width="24" height="24">
50
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
51
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
52
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
53
+ </svg>
54
+ </a>
55
+
56
+ </div>
57
+ <div class="clear"></div>
58
+ </div>
59
+
60
+ <div id="content"><div id='filecontents'>
61
+ <p>The MIT License (MIT)</p>
62
+
63
+ <p>Copyright © 2018 Mike Shock (Mikhail V. Shokhirev)</p>
64
+
65
+ <p>Permission is hereby granted, free of charge, to any person obtaining a
66
+ copy of this software and associated documentation files (the “Software”),
67
+ to deal in the Software without restriction, including without limitation
68
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
69
+ and/or sell copies of the Software, and to permit persons to whom the
70
+ Software is furnished to do so, subject to the following conditions:</p>
71
+
72
+ <p>The above copyright notice and this permission notice shall be included in
73
+ all copies or substantial portions of the Software.</p>
74
+
75
+ <p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
76
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
77
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
78
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
79
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
80
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
81
+ DEALINGS IN THE SOFTWARE.</p>
82
+ </div></div>
83
+
84
+ <div id="footer">
85
+ Generated on Thu Dec 20 18:09:38 2018 by
86
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
87
+ 0.9.16 (ruby-2.3.3).
88
+ </div>
89
+
90
+ </div>
91
+ </body>
92
+ </html>
data/doc/file.README.html CHANGED
@@ -58,17 +58,19 @@
58
58
  </div>
59
59
 
60
60
  <div id="content"><div id='filecontents'>
61
- <h1 id="label-Ruby-Raspberry_Pi_IoT">Ruby-Raspberry_Pi_IoT</h1>
61
+ <h1 id="label-Raspberry_Pi_IoT">Raspberry_Pi_IoT</h1>
62
62
 
63
63
  <p>A Ruby library for IoT (physical computing) projects with Raspberry Pi.</p>
64
64
 
65
- <p>Why I made it.</p>
65
+ <h2 id="label-Why+I+made+it.">Why I made it.</h2>
66
66
 
67
67
  <p>I&#39;m a software developer and a maker. And I do love Raspberry Pi -
68
68
  it&#39;s such a fun to do physical programming! But I love to program in
69
69
  Ruby. So I tried to make a pragmatic set of useful IoT libraries for the
70
70
  Ruby language for all who want to program for Raspberry Pi in Ruby.</p>
71
71
 
72
+ <h2 id="label-Installation">Installation</h2>
73
+
72
74
  <p>To use this library you should do:</p>
73
75
  <ol><li>
74
76
  <p>Install the Ruby development version (to compile the extensions):</p>
@@ -97,11 +99,31 @@ href="http://www.airspayce.com/mikem/bcm2835/bcm2835-1.58.tar.gz">www.airspayce.
97
99
  <p>Install the latest version of gem:</p>
98
100
  </li></ol>
99
101
 
100
- <p>sudo gem install raspberry_pi_iot.gem</p>
102
+ <p>gem install raspberry_pi_iot.gem</p>
103
+
104
+ <h2 id="label-Plans-3A">Plans:</h2>
105
+ <ul><li>
106
+ <p>Support for more devices (I2C, SPI, LED strip &amp; matrix), SenseHAT,
107
+ Official Display (brightness, orientation).</p>
108
+ </li><li>
109
+ <p>Better functionality for existing classes (Button, etc.)</p>
110
+ </li><li>
111
+ <p>More tests.</p>
112
+ </li></ul>
113
+
114
+ <h2 id="label-Contributing">Contributing</h2>
115
+
116
+ <p>Bug reports are welcome on GitHub at <a
117
+ href="https://github.com/mike-shock/Ruby-Raspberry_Pi_IoT">github.com/mike-shock/Ruby-Raspberry_Pi_IoT</a>.</p>
118
+
119
+ <h2 id="label-License">License</h2>
120
+
121
+ <p>The gem is available as open source under the terms of the <a
122
+ href="https://opensource.org/licenses/MIT">MIT License</a>.</p>
101
123
  </div></div>
102
124
 
103
125
  <div id="footer">
104
- Generated on Tue Dec 18 16:03:38 2018 by
126
+ Generated on Thu Dec 20 18:09:38 2018 by
105
127
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
106
128
  0.9.16 (ruby-2.3.3).
107
129
  </div>
data/doc/file_list.html CHANGED
@@ -49,6 +49,11 @@
49
49
  </li>
50
50
 
51
51
 
52
+ <li id="object_LICENSE" class="even">
53
+ <div class="item"><span class="object_link"><a href="file.LICENSE.html" title="LICENSE">LICENSE</a></span></div>
54
+ </li>
55
+
56
+
52
57
 
53
58
  </ul>
54
59
  </div>
data/doc/index.html CHANGED
@@ -58,17 +58,19 @@
58
58
  </div>
59
59
 
60
60
  <div id="content"><div id='filecontents'>
61
- <h1 id="label-Ruby-Raspberry_Pi_IoT">Ruby-Raspberry_Pi_IoT</h1>
61
+ <h1 id="label-Raspberry_Pi_IoT">Raspberry_Pi_IoT</h1>
62
62
 
63
63
  <p>A Ruby library for IoT (physical computing) projects with Raspberry Pi.</p>
64
64
 
65
- <p>Why I made it.</p>
65
+ <h2 id="label-Why+I+made+it.">Why I made it.</h2>
66
66
 
67
67
  <p>I&#39;m a software developer and a maker. And I do love Raspberry Pi -
68
68
  it&#39;s such a fun to do physical programming! But I love to program in
69
69
  Ruby. So I tried to make a pragmatic set of useful IoT libraries for the
70
70
  Ruby language for all who want to program for Raspberry Pi in Ruby.</p>
71
71
 
72
+ <h2 id="label-Installation">Installation</h2>
73
+
72
74
  <p>To use this library you should do:</p>
73
75
  <ol><li>
74
76
  <p>Install the Ruby development version (to compile the extensions):</p>
@@ -97,11 +99,31 @@ href="http://www.airspayce.com/mikem/bcm2835/bcm2835-1.58.tar.gz">www.airspayce.
97
99
  <p>Install the latest version of gem:</p>
98
100
  </li></ol>
99
101
 
100
- <p>sudo gem install raspberry_pi_iot.gem</p>
102
+ <p>gem install raspberry_pi_iot.gem</p>
103
+
104
+ <h2 id="label-Plans-3A">Plans:</h2>
105
+ <ul><li>
106
+ <p>Support for more devices (I2C, SPI, LED strip &amp; matrix), SenseHAT,
107
+ Official Display (brightness, orientation).</p>
108
+ </li><li>
109
+ <p>Better functionality for existing classes (Button, etc.)</p>
110
+ </li><li>
111
+ <p>More tests.</p>
112
+ </li></ul>
113
+
114
+ <h2 id="label-Contributing">Contributing</h2>
115
+
116
+ <p>Bug reports are welcome on GitHub at <a
117
+ href="https://github.com/mike-shock/Ruby-Raspberry_Pi_IoT">github.com/mike-shock/Ruby-Raspberry_Pi_IoT</a>.</p>
118
+
119
+ <h2 id="label-License">License</h2>
120
+
121
+ <p>The gem is available as open source under the terms of the <a
122
+ href="https://opensource.org/licenses/MIT">MIT License</a>.</p>
101
123
  </div></div>
102
124
 
103
125
  <div id="footer">
104
- Generated on Tue Dec 18 16:03:38 2018 by
126
+ Generated on Thu Dec 20 18:09:37 2018 by
105
127
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
106
128
  0.9.16 (ruby-2.3.3).
107
129
  </div>