raspberry_pi_iot 0.0.8 → 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 +5 -5
- data/doc/IoT.html +8 -6
- data/doc/{Bus.html → RaspberryPiIoT.html} +21 -26
- data/doc/_index.html +84 -77
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +92 -0
- data/doc/file.README.html +63 -29
- data/doc/file_list.html +5 -0
- data/doc/frames.html +1 -1
- data/doc/index.html +63 -29
- data/doc/method_list.html +170 -202
- data/doc/top-level-namespace.html +4 -6
- data/lib/bus.rb +0 -2
- data/lib/iot.rb +4 -2
- data/lib/iot/actuator.rb +7 -0
- data/lib/iot/bh1750.rb +54 -0
- data/lib/iot/binary_actuator.rb +7 -0
- data/lib/iot/binary_effector.rb +11 -0
- data/lib/iot/binary_receptor.rb +20 -0
- data/lib/iot/binary_sensor.rb +7 -0
- data/lib/iot/bmx_sensor.rb +73 -0
- data/lib/iot/button.rb +100 -0
- data/lib/iot/dht_sensor.rb +41 -0
- data/lib/iot/digital_actuator.rb +7 -0
- data/lib/iot/digital_effector.rb +67 -0
- data/lib/iot/digital_receptor.rb +17 -0
- data/lib/iot/digital_sensor.rb +7 -0
- data/lib/iot/ds18b20.rb +25 -0
- data/lib/iot/effector.rb +32 -0
- data/lib/iot/hcsr501.rb +8 -0
- data/lib/iot/humiture_sensor.rb +27 -0
- data/lib/iot/led.rb +64 -0
- data/lib/iot/led_pwm.rb +8 -0
- data/lib/iot/led_rgb.rb +86 -0
- data/lib/iot/max44009.rb +84 -0
- data/lib/iot/receptor.rb +38 -0
- data/lib/iot/sensor.rb +8 -0
- data/lib/iot/temperature_sensor.rb +51 -0
- data/lib/raspberry_pi.rb +46 -1
- data/lib/raspberry_pi_iot.rb +9 -3
- data/lib/raspberry_pi_iot/version.rb +3 -0
- data/lib/thermal_sensor.rb +2 -3
- data/test/test.sh +17 -0
- data/test/test.txt +173 -0
- data/test/test_Raspberry_Pi_IoT.rb +10 -0
- data/test/test_bh1750.rb +9 -4
- data/test/{standalone_test_bmp280.rb → test_bme280.rb} +24 -19
- data/test/test_bmp280.rb +52 -0
- data/test/test_button.rb +25 -14
- data/test/test_dht11.rb +3 -3
- data/test/test_dht22.rb +35 -0
- data/test/test_ds18b20.rb +4 -3
- data/test/test_helper.rb +6 -0
- data/test/test_info.rb +24 -3
- data/test/test_ky008.rb +41 -0
- data/test/test_led.rb +9 -9
- data/test/test_led_rgb.rb +28 -5
- data/test/test_max44009_gy49.rb +4 -4
- data/test/test_thermal.rb +27 -0
- metadata +103 -59
- 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/Button.html +0 -986
- 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 -636
- 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 -784
- data/doc/MAX44009.html +0 -830
- data/doc/RaspberryPi.html +0 -317
- data/doc/Receptor.html +0 -257
- data/doc/Sensor.html +0 -145
- data/doc/TemperatureSensor.html +0 -644
- data/lib/bh1750.rb +0 -46
- data/lib/binary_actuator.rb +0 -5
- data/lib/binary_effector.rb +0 -12
- data/lib/binary_receptor.rb +0 -19
- data/lib/binary_sensor.rb +0 -5
- data/lib/bmx_sensor.rb +0 -85
- data/lib/button.rb +0 -70
- data/lib/dht_sensor.rb +0 -36
- data/lib/digital_actuator.rb +0 -5
- data/lib/digital_effector.rb +0 -69
- data/lib/digital_receptor.rb +0 -16
- data/lib/digital_sensor.rb +0 -5
- data/lib/ds18b20.rb +0 -24
- data/lib/effector.rb +0 -32
- data/lib/hcsr501.rb +0 -7
- data/lib/humiture_sensor.rb +0 -26
- data/lib/led.rb +0 -58
- data/lib/led_pwm.rb +0 -6
- data/lib/led_rgb.rb +0 -101
- data/lib/max44009.rb +0 -77
- data/lib/receptor.rb +0 -33
- data/lib/temperature_sensor.rb +0 -49
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='
|
|
46
|
+
<li id='object_IoT' class='even'><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::Actuator' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/Actuator.html" title="IoT::Actuator (class)">Actuator</a></span> < Effector<small class='search_info'>IoT</small></div></li><li id='object_IoT::BH1750' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/BH1750.html" title="IoT::BH1750 (class)">BH1750</a></span> < DigitalReceptor<small class='search_info'>IoT</small></div></li><li id='object_IoT::BME280' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/BME280.html" title="IoT::BME280 (class)">BME280</a></span> < BMxSensor<small class='search_info'>IoT</small></div></li><li id='object_IoT::BMP280' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/BMP280.html" title="IoT::BMP280 (class)">BMP280</a></span> < BMxSensor<small class='search_info'>IoT</small></div></li><li id='object_IoT::BMxSensor' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/BMxSensor.html" title="IoT::BMxSensor (class)">BMxSensor</a></span> < HumitureSensor<small class='search_info'>IoT</small></div></li><li id='object_IoT::BinaryActuator' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/BinaryActuator.html" title="IoT::BinaryActuator (class)">BinaryActuator</a></span> < BinaryEffector<small class='search_info'>IoT</small></div></li><li id='object_IoT::BinaryEffector' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/BinaryEffector.html" title="IoT::BinaryEffector (class)">BinaryEffector</a></span> < DigitalEffector<small class='search_info'>IoT</small></div></li><li id='object_IoT::BinaryReceptor' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/BinaryReceptor.html" title="IoT::BinaryReceptor (class)">BinaryReceptor</a></span> < Receptor<small class='search_info'>IoT</small></div></li><li id='object_IoT::BinarySensor' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/BinarySensor.html" title="IoT::BinarySensor (class)">BinarySensor</a></span> < BinaryReceptor<small class='search_info'>IoT</small></div></li><li id='object_IoT::Button' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/Button.html" title="IoT::Button (class)">Button</a></span> < BinaryReceptor<small class='search_info'>IoT</small></div></li><li id='object_IoT::DHT11' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/DHT11.html" title="IoT::DHT11 (class)">DHT11</a></span> < DHTxxSensor<small class='search_info'>IoT</small></div></li><li id='object_IoT::DHT22' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/DHT22.html" title="IoT::DHT22 (class)">DHT22</a></span> < DHTxxSensor<small class='search_info'>IoT</small></div></li><li id='object_IoT::DHTxxSensor' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/DHTxxSensor.html" title="IoT::DHTxxSensor (class)">DHTxxSensor</a></span> < HumitureSensor<small class='search_info'>IoT</small></div></li><li id='object_IoT::DS18B20' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/DS18B20.html" title="IoT::DS18B20 (class)">DS18B20</a></span> < TemperatureSensor<small class='search_info'>IoT</small></div></li><li id='object_IoT::DigitalActuator' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/DigitalActuator.html" title="IoT::DigitalActuator (class)">DigitalActuator</a></span> < DigitalEffector<small class='search_info'>IoT</small></div></li><li id='object_IoT::DigitalEffector' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/DigitalEffector.html" title="IoT::DigitalEffector (class)">DigitalEffector</a></span> < Effector<small class='search_info'>IoT</small></div></li><li id='object_IoT::DigitalReceptor' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/DigitalReceptor.html" title="IoT::DigitalReceptor (class)">DigitalReceptor</a></span> < Receptor<small class='search_info'>IoT</small></div></li><li id='object_IoT::DigitalSensor' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/DigitalSensor.html" title="IoT::DigitalSensor (class)">DigitalSensor</a></span> < DigitalReceptor<small class='search_info'>IoT</small></div></li><li id='object_IoT::Effector' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/Effector.html" title="IoT::Effector (class)">Effector</a></span> < Object<small class='search_info'>IoT</small></div></li><li id='object_IoT::HCSR501' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/HCSR501.html" title="IoT::HCSR501 (class)">HCSR501</a></span> < BinarySensor<small class='search_info'>IoT</small></div></li><li id='object_IoT::HumitureSensor' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/HumitureSensor.html" title="IoT::HumitureSensor (class)">HumitureSensor</a></span> < TemperatureSensor<small class='search_info'>IoT</small></div></li><li id='object_IoT::LED' class='collapsed even'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="IoT/LED.html" title="IoT::LED (class)">LED</a></span> < BinaryEffector<small class='search_info'>IoT</small></div><ul><li id='object_IoT::LED::PWM' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="IoT/LED/PWM.html" title="IoT::LED::PWM (class)">PWM</a></span> < Object<small class='search_info'>IoT::LED</small></div></li><li id='object_IoT::LED::RGB' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="IoT/LED/RGB.html" title="IoT::LED::RGB (class)">RGB</a></span> < DigitalEffector<small class='search_info'>IoT::LED</small></div></li></ul></li><li id='object_IoT::MAX44009' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/MAX44009.html" title="IoT::MAX44009 (class)">MAX44009</a></span> < Object<small class='search_info'>IoT</small></div></li><li id='object_IoT::Receptor' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/Receptor.html" title="IoT::Receptor (class)">Receptor</a></span> < Object<small class='search_info'>IoT</small></div></li><li id='object_IoT::Sensor' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/Sensor.html" title="IoT::Sensor (class)">Sensor</a></span> < Receptor<small class='search_info'>IoT</small></div></li><li id='object_IoT::TemperatureSensor' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="IoT/TemperatureSensor.html" title="IoT::TemperatureSensor (class)">TemperatureSensor</a></span> < DigitalSensor<small class='search_info'>IoT</small></div></li></ul></li><li id='object_RaspberryPiIoT' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="RaspberryPiIoT.html" title="RaspberryPiIoT (module)">RaspberryPiIoT</a></span><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
|
+
— Documentation by YARD 0.9.20
|
|
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> »
|
|
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 Wed Jun 10 16:52:49 2020 by
|
|
86
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
87
|
+
0.9.20 (ruby-2.5.5).
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
</div>
|
|
91
|
+
</body>
|
|
92
|
+
</html>
|
data/doc/file.README.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
File: README
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.20
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -57,53 +57,87 @@
|
|
|
57
57
|
<div class="clear"></div>
|
|
58
58
|
</div>
|
|
59
59
|
|
|
60
|
-
<div id="content"><div id='filecontents'>
|
|
61
|
-
<h1 id="label-Ruby-Raspberry_Pi_IoT">Ruby-Raspberry_Pi_IoT</h1>
|
|
60
|
+
<div id="content"><div id='filecontents'><h1 id="raspberrypiiot">Raspberry_Pi_IoT</h1>
|
|
62
61
|
|
|
63
62
|
<p>A Ruby library for IoT (physical computing) projects with Raspberry Pi.</p>
|
|
64
63
|
|
|
65
|
-
<
|
|
64
|
+
<h2 id="why-i-made-it">Why I made it.</h2>
|
|
66
65
|
|
|
67
|
-
<p>I
|
|
68
|
-
it
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
<p>I’m a software developer and a maker. And I do love Raspberry Pi -
|
|
67
|
+
it’s such a fun to do physical programming! But I love to program in Ruby.
|
|
68
|
+
So I tried to make a pragmatic set of useful IoT libraries for the Ruby language
|
|
69
|
+
for all who want to program for Raspberry Pi in Ruby.</p>
|
|
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
|
+
|
|
75
|
+
<h2 id="installation">Installation</h2>
|
|
71
76
|
|
|
72
77
|
<p>To use this library you should do:</p>
|
|
73
|
-
<ol><li>
|
|
74
|
-
<p>Install the Ruby development version (to compile the extensions):</p>
|
|
75
|
-
</li></ol>
|
|
76
78
|
|
|
77
|
-
<
|
|
78
|
-
<
|
|
79
|
-
<p>
|
|
80
|
-
|
|
79
|
+
<ol>
|
|
80
|
+
<li>
|
|
81
|
+
<p>Install the Ruby development version (to compile the extensions):</p>
|
|
82
|
+
|
|
83
|
+
<p>sudo apt-get install ruby-dev</p>
|
|
84
|
+
</li>
|
|
85
|
+
<li>
|
|
86
|
+
<p>Download and install the bcm2835-1.xx.tar.gz library, e. g.:</p>
|
|
87
|
+
|
|
88
|
+
<p>wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.58.tar.gz</p>
|
|
89
|
+
|
|
90
|
+
<p>tar zxvf bcm2835-1.58.tar.gz</p>
|
|
91
|
+
|
|
92
|
+
<p>cd bcm2835-1.58</p>
|
|
93
|
+
|
|
94
|
+
<p>./configure</p>
|
|
95
|
+
|
|
96
|
+
<p>make</p>
|
|
97
|
+
|
|
98
|
+
<p>sudo make check</p>
|
|
99
|
+
|
|
100
|
+
<p>sudo make install</p>
|
|
101
|
+
</li>
|
|
102
|
+
<li>
|
|
103
|
+
<p>Install the latest version of gem:</p>
|
|
104
|
+
|
|
105
|
+
<p>gem install raspberry_pi_iot</p>
|
|
106
|
+
</li>
|
|
107
|
+
</ol>
|
|
81
108
|
|
|
82
|
-
<
|
|
83
|
-
href="http://www.airspayce.com/mikem/bcm2835/bcm2835-1.58.tar.gz">www.airspayce.com/mikem/bcm2835/bcm2835-1.58.tar.gz</a></p>
|
|
109
|
+
<h2 id="usage">Usage</h2>
|
|
84
110
|
|
|
85
|
-
<p>
|
|
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>
|
|
86
113
|
|
|
87
|
-
<
|
|
114
|
+
<h2 id="plans">Plans:</h2>
|
|
88
115
|
|
|
89
|
-
<
|
|
116
|
+
<ul>
|
|
117
|
+
<li>
|
|
118
|
+
<p>Support for more devices (I2C, SPI, LED strip & matrix), SenseHAT, Official Display (brightness, orientation).</p>
|
|
119
|
+
</li>
|
|
120
|
+
<li>
|
|
121
|
+
<p>Better functionality for existing classes (Button, LED, etc.)</p>
|
|
122
|
+
</li>
|
|
123
|
+
<li>
|
|
124
|
+
<p>More tests.</p>
|
|
125
|
+
</li>
|
|
126
|
+
</ul>
|
|
90
127
|
|
|
91
|
-
<
|
|
128
|
+
<h2 id="contributing">Contributing</h2>
|
|
92
129
|
|
|
93
|
-
<p>
|
|
130
|
+
<p>Bug reports are welcome on GitHub at https://github.com/mike-shock/Ruby-Raspberry_Pi_IoT.</p>
|
|
94
131
|
|
|
95
|
-
<
|
|
96
|
-
<ol><li>
|
|
97
|
-
<p>Install the latest version of gem:</p>
|
|
98
|
-
</li></ol>
|
|
132
|
+
<h2 id="license">License</h2>
|
|
99
133
|
|
|
100
|
-
<p>
|
|
134
|
+
<p>The gem is available as open source under the terms of the [MIT License] (https://opensource.org/licenses/MIT).</p>
|
|
101
135
|
</div></div>
|
|
102
136
|
|
|
103
137
|
<div id="footer">
|
|
104
|
-
Generated on
|
|
138
|
+
Generated on Wed Jun 10 16:52:49 2020 by
|
|
105
139
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
106
|
-
0.9.
|
|
140
|
+
0.9.20 (ruby-2.5.5).
|
|
107
141
|
</div>
|
|
108
142
|
|
|
109
143
|
</div>
|
data/doc/file_list.html
CHANGED
data/doc/frames.html
CHANGED
data/doc/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
File: README
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.20
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -57,53 +57,87 @@
|
|
|
57
57
|
<div class="clear"></div>
|
|
58
58
|
</div>
|
|
59
59
|
|
|
60
|
-
<div id="content"><div id='filecontents'>
|
|
61
|
-
<h1 id="label-Ruby-Raspberry_Pi_IoT">Ruby-Raspberry_Pi_IoT</h1>
|
|
60
|
+
<div id="content"><div id='filecontents'><h1 id="raspberrypiiot">Raspberry_Pi_IoT</h1>
|
|
62
61
|
|
|
63
62
|
<p>A Ruby library for IoT (physical computing) projects with Raspberry Pi.</p>
|
|
64
63
|
|
|
65
|
-
<
|
|
64
|
+
<h2 id="why-i-made-it">Why I made it.</h2>
|
|
66
65
|
|
|
67
|
-
<p>I
|
|
68
|
-
it
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
<p>I’m a software developer and a maker. And I do love Raspberry Pi -
|
|
67
|
+
it’s such a fun to do physical programming! But I love to program in Ruby.
|
|
68
|
+
So I tried to make a pragmatic set of useful IoT libraries for the Ruby language
|
|
69
|
+
for all who want to program for Raspberry Pi in Ruby.</p>
|
|
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
|
+
|
|
75
|
+
<h2 id="installation">Installation</h2>
|
|
71
76
|
|
|
72
77
|
<p>To use this library you should do:</p>
|
|
73
|
-
<ol><li>
|
|
74
|
-
<p>Install the Ruby development version (to compile the extensions):</p>
|
|
75
|
-
</li></ol>
|
|
76
78
|
|
|
77
|
-
<
|
|
78
|
-
<
|
|
79
|
-
<p>
|
|
80
|
-
|
|
79
|
+
<ol>
|
|
80
|
+
<li>
|
|
81
|
+
<p>Install the Ruby development version (to compile the extensions):</p>
|
|
82
|
+
|
|
83
|
+
<p>sudo apt-get install ruby-dev</p>
|
|
84
|
+
</li>
|
|
85
|
+
<li>
|
|
86
|
+
<p>Download and install the bcm2835-1.xx.tar.gz library, e. g.:</p>
|
|
87
|
+
|
|
88
|
+
<p>wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.58.tar.gz</p>
|
|
89
|
+
|
|
90
|
+
<p>tar zxvf bcm2835-1.58.tar.gz</p>
|
|
91
|
+
|
|
92
|
+
<p>cd bcm2835-1.58</p>
|
|
93
|
+
|
|
94
|
+
<p>./configure</p>
|
|
95
|
+
|
|
96
|
+
<p>make</p>
|
|
97
|
+
|
|
98
|
+
<p>sudo make check</p>
|
|
99
|
+
|
|
100
|
+
<p>sudo make install</p>
|
|
101
|
+
</li>
|
|
102
|
+
<li>
|
|
103
|
+
<p>Install the latest version of gem:</p>
|
|
104
|
+
|
|
105
|
+
<p>gem install raspberry_pi_iot</p>
|
|
106
|
+
</li>
|
|
107
|
+
</ol>
|
|
81
108
|
|
|
82
|
-
<
|
|
83
|
-
href="http://www.airspayce.com/mikem/bcm2835/bcm2835-1.58.tar.gz">www.airspayce.com/mikem/bcm2835/bcm2835-1.58.tar.gz</a></p>
|
|
109
|
+
<h2 id="usage">Usage</h2>
|
|
84
110
|
|
|
85
|
-
<p>
|
|
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>
|
|
86
113
|
|
|
87
|
-
<
|
|
114
|
+
<h2 id="plans">Plans:</h2>
|
|
88
115
|
|
|
89
|
-
<
|
|
116
|
+
<ul>
|
|
117
|
+
<li>
|
|
118
|
+
<p>Support for more devices (I2C, SPI, LED strip & matrix), SenseHAT, Official Display (brightness, orientation).</p>
|
|
119
|
+
</li>
|
|
120
|
+
<li>
|
|
121
|
+
<p>Better functionality for existing classes (Button, LED, etc.)</p>
|
|
122
|
+
</li>
|
|
123
|
+
<li>
|
|
124
|
+
<p>More tests.</p>
|
|
125
|
+
</li>
|
|
126
|
+
</ul>
|
|
90
127
|
|
|
91
|
-
<
|
|
128
|
+
<h2 id="contributing">Contributing</h2>
|
|
92
129
|
|
|
93
|
-
<p>
|
|
130
|
+
<p>Bug reports are welcome on GitHub at https://github.com/mike-shock/Ruby-Raspberry_Pi_IoT.</p>
|
|
94
131
|
|
|
95
|
-
<
|
|
96
|
-
<ol><li>
|
|
97
|
-
<p>Install the latest version of gem:</p>
|
|
98
|
-
</li></ol>
|
|
132
|
+
<h2 id="license">License</h2>
|
|
99
133
|
|
|
100
|
-
<p>
|
|
134
|
+
<p>The gem is available as open source under the terms of the [MIT License] (https://opensource.org/licenses/MIT).</p>
|
|
101
135
|
</div></div>
|
|
102
136
|
|
|
103
137
|
<div id="footer">
|
|
104
|
-
Generated on
|
|
138
|
+
Generated on Wed Jun 10 16:52:49 2020 by
|
|
105
139
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
106
|
-
0.9.
|
|
140
|
+
0.9.20 (ruby-2.5.5).
|
|
107
141
|
</div>
|
|
108
142
|
|
|
109
143
|
</div>
|
data/doc/method_list.html
CHANGED
|
@@ -46,712 +46,680 @@
|
|
|
46
46
|
|
|
47
47
|
<li class="odd ">
|
|
48
48
|
<div class="item">
|
|
49
|
-
<span class='object_link'><a href="LED/RGB.html#all_off-instance_method" title="LED::RGB#all_off (method)">#all_off</a></span>
|
|
50
|
-
<small>LED::RGB</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="LED.html#
|
|
58
|
-
<small>LED</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="LED
|
|
66
|
-
<small>LED
|
|
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="LED/RGB.html#
|
|
74
|
-
<small>LED::RGB</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="
|
|
98
|
-
<small>
|
|
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="
|
|
130
|
-
<small>
|
|
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="
|
|
146
|
-
<small>
|
|
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
163
|
</div>
|
|
164
164
|
</li>
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
<li class="even ">
|
|
168
168
|
<div class="item">
|
|
169
|
-
<span class='object_link'><a href="
|
|
170
|
-
<small>
|
|
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
171
|
</div>
|
|
172
172
|
</li>
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
<li class="odd ">
|
|
176
176
|
<div class="item">
|
|
177
|
-
<span class='object_link'><a href="
|
|
178
|
-
<small>
|
|
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
179
|
</div>
|
|
180
180
|
</li>
|
|
181
181
|
|
|
182
182
|
|
|
183
183
|
<li class="even ">
|
|
184
184
|
<div class="item">
|
|
185
|
-
<span class='object_link'><a href="
|
|
186
|
-
<small>
|
|
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
187
|
</div>
|
|
188
188
|
</li>
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
<li class="odd ">
|
|
192
192
|
<div class="item">
|
|
193
|
-
<span class='object_link'><a href="
|
|
194
|
-
<small>
|
|
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
195
|
</div>
|
|
196
196
|
</li>
|
|
197
197
|
|
|
198
198
|
|
|
199
199
|
<li class="even ">
|
|
200
200
|
<div class="item">
|
|
201
|
-
<span class='object_link'><a href="
|
|
202
|
-
<small>
|
|
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
203
|
</div>
|
|
204
204
|
</li>
|
|
205
205
|
|
|
206
206
|
|
|
207
207
|
<li class="odd ">
|
|
208
208
|
<div class="item">
|
|
209
|
-
<span class='object_link'><a href="
|
|
210
|
-
<small>
|
|
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
211
|
</div>
|
|
212
212
|
</li>
|
|
213
213
|
|
|
214
214
|
|
|
215
215
|
<li class="even ">
|
|
216
216
|
<div class="item">
|
|
217
|
-
<span class='object_link'><a href="
|
|
218
|
-
<small>
|
|
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
219
|
</div>
|
|
220
220
|
</li>
|
|
221
221
|
|
|
222
222
|
|
|
223
223
|
<li class="odd ">
|
|
224
224
|
<div class="item">
|
|
225
|
-
<span class='object_link'><a href="
|
|
226
|
-
<small>
|
|
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
227
|
</div>
|
|
228
228
|
</li>
|
|
229
229
|
|
|
230
230
|
|
|
231
231
|
<li class="even ">
|
|
232
232
|
<div class="item">
|
|
233
|
-
<span class='object_link'><a href="
|
|
234
|
-
<small>
|
|
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
235
|
</div>
|
|
236
236
|
</li>
|
|
237
237
|
|
|
238
238
|
|
|
239
239
|
<li class="odd ">
|
|
240
240
|
<div class="item">
|
|
241
|
-
<span class='object_link'><a href="
|
|
242
|
-
<small>
|
|
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
243
|
</div>
|
|
244
244
|
</li>
|
|
245
245
|
|
|
246
246
|
|
|
247
247
|
<li class="even ">
|
|
248
248
|
<div class="item">
|
|
249
|
-
<span class='object_link'><a href="
|
|
250
|
-
<small>
|
|
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
251
|
</div>
|
|
252
252
|
</li>
|
|
253
253
|
|
|
254
254
|
|
|
255
255
|
<li class="odd ">
|
|
256
256
|
<div class="item">
|
|
257
|
-
<span class='object_link'><a href="
|
|
258
|
-
<small>
|
|
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
259
|
</div>
|
|
260
260
|
</li>
|
|
261
261
|
|
|
262
262
|
|
|
263
263
|
<li class="even ">
|
|
264
264
|
<div class="item">
|
|
265
|
-
<span class='object_link'><a href="
|
|
266
|
-
<small>
|
|
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
267
|
</div>
|
|
268
268
|
</li>
|
|
269
269
|
|
|
270
270
|
|
|
271
271
|
<li class="odd ">
|
|
272
272
|
<div class="item">
|
|
273
|
-
<span class='object_link'><a href="
|
|
274
|
-
<small>
|
|
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
275
|
</div>
|
|
276
276
|
</li>
|
|
277
277
|
|
|
278
278
|
|
|
279
279
|
<li class="even ">
|
|
280
280
|
<div class="item">
|
|
281
|
-
<span class='object_link'><a href="
|
|
282
|
-
<small>
|
|
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
283
|
</div>
|
|
284
284
|
</li>
|
|
285
285
|
|
|
286
286
|
|
|
287
287
|
<li class="odd ">
|
|
288
288
|
<div class="item">
|
|
289
|
-
<span class='object_link'><a href="
|
|
290
|
-
<small>
|
|
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
291
|
</div>
|
|
292
292
|
</li>
|
|
293
293
|
|
|
294
294
|
|
|
295
295
|
<li class="even ">
|
|
296
296
|
<div class="item">
|
|
297
|
-
<span class='object_link'><a href="
|
|
298
|
-
<small>
|
|
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
299
|
</div>
|
|
300
300
|
</li>
|
|
301
301
|
|
|
302
302
|
|
|
303
303
|
<li class="odd ">
|
|
304
304
|
<div class="item">
|
|
305
|
-
<span class='object_link'><a href="IoT/
|
|
306
|
-
<small>IoT::
|
|
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
307
|
</div>
|
|
308
308
|
</li>
|
|
309
309
|
|
|
310
310
|
|
|
311
311
|
<li class="even ">
|
|
312
312
|
<div class="item">
|
|
313
|
-
<span class='object_link'><a href="
|
|
314
|
-
<small>
|
|
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
315
|
</div>
|
|
316
316
|
</li>
|
|
317
317
|
|
|
318
318
|
|
|
319
319
|
<li class="odd ">
|
|
320
320
|
<div class="item">
|
|
321
|
-
<span class='object_link'><a href="
|
|
322
|
-
<small>
|
|
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
323
|
</div>
|
|
324
324
|
</li>
|
|
325
325
|
|
|
326
326
|
|
|
327
327
|
<li class="even ">
|
|
328
328
|
<div class="item">
|
|
329
|
-
<span class='object_link'><a href="
|
|
330
|
-
<small>
|
|
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
331
|
</div>
|
|
332
332
|
</li>
|
|
333
333
|
|
|
334
334
|
|
|
335
335
|
<li class="odd ">
|
|
336
336
|
<div class="item">
|
|
337
|
-
<span class='object_link'><a href="
|
|
338
|
-
<small>
|
|
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
339
|
</div>
|
|
340
340
|
</li>
|
|
341
341
|
|
|
342
342
|
|
|
343
343
|
<li class="even ">
|
|
344
344
|
<div class="item">
|
|
345
|
-
<span class='object_link'><a href="
|
|
346
|
-
<small>
|
|
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
347
|
</div>
|
|
348
348
|
</li>
|
|
349
349
|
|
|
350
350
|
|
|
351
351
|
<li class="odd ">
|
|
352
352
|
<div class="item">
|
|
353
|
-
<span class='object_link'><a href="
|
|
354
|
-
<small>
|
|
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
355
|
</div>
|
|
356
356
|
</li>
|
|
357
357
|
|
|
358
358
|
|
|
359
359
|
<li class="even ">
|
|
360
360
|
<div class="item">
|
|
361
|
-
<span class='object_link'><a href="
|
|
362
|
-
<small>
|
|
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
363
|
</div>
|
|
364
364
|
</li>
|
|
365
365
|
|
|
366
366
|
|
|
367
367
|
<li class="odd ">
|
|
368
368
|
<div class="item">
|
|
369
|
-
<span class='object_link'><a href="
|
|
370
|
-
<small>
|
|
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
371
|
</div>
|
|
372
372
|
</li>
|
|
373
373
|
|
|
374
374
|
|
|
375
375
|
<li class="even ">
|
|
376
376
|
<div class="item">
|
|
377
|
-
<span class='object_link'><a href="
|
|
378
|
-
<small>
|
|
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
379
|
</div>
|
|
380
380
|
</li>
|
|
381
381
|
|
|
382
382
|
|
|
383
383
|
<li class="odd ">
|
|
384
384
|
<div class="item">
|
|
385
|
-
<span class='object_link'><a href="
|
|
386
|
-
<small>
|
|
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
387
|
</div>
|
|
388
388
|
</li>
|
|
389
389
|
|
|
390
390
|
|
|
391
391
|
<li class="even ">
|
|
392
392
|
<div class="item">
|
|
393
|
-
<span class='object_link'><a href="IoT/
|
|
394
|
-
<small>IoT::
|
|
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
395
|
</div>
|
|
396
396
|
</li>
|
|
397
397
|
|
|
398
398
|
|
|
399
399
|
<li class="odd ">
|
|
400
400
|
<div class="item">
|
|
401
|
-
<span class='object_link'><a href="
|
|
402
|
-
<small>
|
|
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
403
|
</div>
|
|
404
404
|
</li>
|
|
405
405
|
|
|
406
406
|
|
|
407
407
|
<li class="even ">
|
|
408
408
|
<div class="item">
|
|
409
|
-
<span class='object_link'><a href="
|
|
410
|
-
<small>
|
|
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
411
|
</div>
|
|
412
412
|
</li>
|
|
413
413
|
|
|
414
414
|
|
|
415
415
|
<li class="odd ">
|
|
416
416
|
<div class="item">
|
|
417
|
-
<span class='object_link'><a href="
|
|
418
|
-
<small>
|
|
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
419
|
</div>
|
|
420
420
|
</li>
|
|
421
421
|
|
|
422
422
|
|
|
423
423
|
<li class="even ">
|
|
424
424
|
<div class="item">
|
|
425
|
-
<span class='object_link'><a href="
|
|
426
|
-
<small>
|
|
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
427
|
</div>
|
|
428
428
|
</li>
|
|
429
429
|
|
|
430
430
|
|
|
431
431
|
<li class="odd ">
|
|
432
432
|
<div class="item">
|
|
433
|
-
<span class='object_link'><a href="
|
|
434
|
-
<small>
|
|
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
435
|
</div>
|
|
436
436
|
</li>
|
|
437
437
|
|
|
438
438
|
|
|
439
439
|
<li class="even ">
|
|
440
440
|
<div class="item">
|
|
441
|
-
<span class='object_link'><a href="
|
|
442
|
-
<small>
|
|
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
443
|
</div>
|
|
444
444
|
</li>
|
|
445
445
|
|
|
446
446
|
|
|
447
447
|
<li class="odd ">
|
|
448
448
|
<div class="item">
|
|
449
|
-
<span class='object_link'><a href="DigitalEffector.html#
|
|
450
|
-
<small>DigitalEffector</small>
|
|
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
451
|
</div>
|
|
452
452
|
</li>
|
|
453
453
|
|
|
454
454
|
|
|
455
455
|
<li class="even ">
|
|
456
456
|
<div class="item">
|
|
457
|
-
<span class='object_link'><a href="DigitalEffector.html#
|
|
458
|
-
<small>DigitalEffector</small>
|
|
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
459
|
</div>
|
|
460
460
|
</li>
|
|
461
461
|
|
|
462
462
|
|
|
463
463
|
<li class="odd ">
|
|
464
464
|
<div class="item">
|
|
465
|
-
<span class='object_link'><a href="LED.html#
|
|
466
|
-
<small>LED</small>
|
|
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
467
|
</div>
|
|
468
468
|
</li>
|
|
469
469
|
|
|
470
470
|
|
|
471
471
|
<li class="even ">
|
|
472
472
|
<div class="item">
|
|
473
|
-
<span class='object_link'><a href="LED/RGB.html#
|
|
474
|
-
<small>LED::RGB</small>
|
|
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
475
|
</div>
|
|
476
476
|
</li>
|
|
477
477
|
|
|
478
478
|
|
|
479
479
|
<li class="odd ">
|
|
480
480
|
<div class="item">
|
|
481
|
-
<span class='object_link'><a href="DigitalEffector.html#
|
|
482
|
-
<small>DigitalEffector</small>
|
|
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
483
|
</div>
|
|
484
484
|
</li>
|
|
485
485
|
|
|
486
486
|
|
|
487
487
|
<li class="even ">
|
|
488
488
|
<div class="item">
|
|
489
|
-
<span class='object_link'><a href="LED.html#
|
|
490
|
-
<small>LED</small>
|
|
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
491
|
</div>
|
|
492
492
|
</li>
|
|
493
493
|
|
|
494
494
|
|
|
495
495
|
<li class="odd ">
|
|
496
496
|
<div class="item">
|
|
497
|
-
<span class='object_link'><a href="
|
|
498
|
-
<small>
|
|
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
499
|
</div>
|
|
500
500
|
</li>
|
|
501
501
|
|
|
502
502
|
|
|
503
503
|
<li class="even ">
|
|
504
504
|
<div class="item">
|
|
505
|
-
<span class='object_link'><a href="
|
|
506
|
-
<small>
|
|
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
507
|
</div>
|
|
508
508
|
</li>
|
|
509
509
|
|
|
510
510
|
|
|
511
511
|
<li class="odd ">
|
|
512
512
|
<div class="item">
|
|
513
|
-
<span class='object_link'><a href="
|
|
514
|
-
<small>
|
|
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
515
|
</div>
|
|
516
516
|
</li>
|
|
517
517
|
|
|
518
518
|
|
|
519
519
|
<li class="even ">
|
|
520
520
|
<div class="item">
|
|
521
|
-
<span class='object_link'><a href="
|
|
522
|
-
<small>
|
|
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
523
|
</div>
|
|
524
524
|
</li>
|
|
525
525
|
|
|
526
526
|
|
|
527
527
|
<li class="odd ">
|
|
528
528
|
<div class="item">
|
|
529
|
-
<span class='object_link'><a href="
|
|
530
|
-
<small>
|
|
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
531
|
</div>
|
|
532
532
|
</li>
|
|
533
533
|
|
|
534
534
|
|
|
535
535
|
<li class="even ">
|
|
536
536
|
<div class="item">
|
|
537
|
-
<span class='object_link'><a href="
|
|
538
|
-
<small>
|
|
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
539
|
</div>
|
|
540
540
|
</li>
|
|
541
541
|
|
|
542
542
|
|
|
543
543
|
<li class="odd ">
|
|
544
544
|
<div class="item">
|
|
545
|
-
<span class='object_link'><a href="
|
|
546
|
-
<small>
|
|
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
547
|
</div>
|
|
548
548
|
</li>
|
|
549
549
|
|
|
550
550
|
|
|
551
551
|
<li class="even ">
|
|
552
552
|
<div class="item">
|
|
553
|
-
<span class='object_link'><a href="
|
|
554
|
-
<small>
|
|
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
555
|
</div>
|
|
556
556
|
</li>
|
|
557
557
|
|
|
558
558
|
|
|
559
559
|
<li class="odd ">
|
|
560
560
|
<div class="item">
|
|
561
|
-
<span class='object_link'><a href="
|
|
562
|
-
<small>
|
|
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
563
|
</div>
|
|
564
564
|
</li>
|
|
565
565
|
|
|
566
566
|
|
|
567
567
|
<li class="even ">
|
|
568
568
|
<div class="item">
|
|
569
|
-
<span class='object_link'><a href="
|
|
570
|
-
<small>
|
|
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
571
|
</div>
|
|
572
572
|
</li>
|
|
573
573
|
|
|
574
574
|
|
|
575
575
|
<li class="odd ">
|
|
576
576
|
<div class="item">
|
|
577
|
-
<span class='object_link'><a href="
|
|
578
|
-
<small>
|
|
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
579
|
</div>
|
|
580
580
|
</li>
|
|
581
581
|
|
|
582
582
|
|
|
583
583
|
<li class="even ">
|
|
584
584
|
<div class="item">
|
|
585
|
-
<span class='object_link'><a href="
|
|
586
|
-
<small>
|
|
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
587
|
</div>
|
|
588
588
|
</li>
|
|
589
589
|
|
|
590
590
|
|
|
591
591
|
<li class="odd ">
|
|
592
592
|
<div class="item">
|
|
593
|
-
<span class='object_link'><a href="
|
|
594
|
-
<small>
|
|
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
595
|
</div>
|
|
596
596
|
</li>
|
|
597
597
|
|
|
598
598
|
|
|
599
599
|
<li class="even ">
|
|
600
600
|
<div class="item">
|
|
601
|
-
<span class='object_link'><a href="
|
|
602
|
-
<small>
|
|
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
603
|
</div>
|
|
604
604
|
</li>
|
|
605
605
|
|
|
606
606
|
|
|
607
607
|
<li class="odd ">
|
|
608
608
|
<div class="item">
|
|
609
|
-
<span class='object_link'><a href="
|
|
610
|
-
<small>
|
|
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
611
|
</div>
|
|
612
612
|
</li>
|
|
613
613
|
|
|
614
614
|
|
|
615
615
|
<li class="even ">
|
|
616
616
|
<div class="item">
|
|
617
|
-
<span class='object_link'><a href="
|
|
618
|
-
<small>
|
|
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
619
|
</div>
|
|
620
620
|
</li>
|
|
621
621
|
|
|
622
622
|
|
|
623
623
|
<li class="odd ">
|
|
624
624
|
<div class="item">
|
|
625
|
-
<span class='object_link'><a href="
|
|
626
|
-
<small>
|
|
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
627
|
</div>
|
|
628
628
|
</li>
|
|
629
629
|
|
|
630
630
|
|
|
631
631
|
<li class="even ">
|
|
632
632
|
<div class="item">
|
|
633
|
-
<span class='object_link'><a href="
|
|
634
|
-
<small>
|
|
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
635
|
</div>
|
|
636
636
|
</li>
|
|
637
637
|
|
|
638
638
|
|
|
639
639
|
<li class="odd ">
|
|
640
640
|
<div class="item">
|
|
641
|
-
<span class='object_link'><a href="
|
|
642
|
-
<small>
|
|
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
643
|
</div>
|
|
644
644
|
</li>
|
|
645
645
|
|
|
646
646
|
|
|
647
647
|
<li class="even ">
|
|
648
648
|
<div class="item">
|
|
649
|
-
<span class='object_link'><a href="
|
|
650
|
-
<small>
|
|
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
651
|
</div>
|
|
652
652
|
</li>
|
|
653
653
|
|
|
654
654
|
|
|
655
655
|
<li class="odd ">
|
|
656
656
|
<div class="item">
|
|
657
|
-
<span class='object_link'><a href="Button.html#
|
|
658
|
-
<small>Button</small>
|
|
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
659
|
</div>
|
|
660
660
|
</li>
|
|
661
661
|
|
|
662
662
|
|
|
663
663
|
<li class="even ">
|
|
664
664
|
<div class="item">
|
|
665
|
-
<span class='object_link'><a href="
|
|
666
|
-
<small>
|
|
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
667
|
</div>
|
|
668
668
|
</li>
|
|
669
669
|
|
|
670
670
|
|
|
671
671
|
<li class="odd ">
|
|
672
672
|
<div class="item">
|
|
673
|
-
<span class='object_link'><a href="
|
|
674
|
-
<small>
|
|
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
675
|
</div>
|
|
676
676
|
</li>
|
|
677
677
|
|
|
678
678
|
|
|
679
679
|
<li class="even ">
|
|
680
680
|
<div class="item">
|
|
681
|
-
<span class='object_link'><a href="
|
|
682
|
-
<small>
|
|
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
683
|
</div>
|
|
684
684
|
</li>
|
|
685
685
|
|
|
686
686
|
|
|
687
687
|
<li class="odd ">
|
|
688
688
|
<div class="item">
|
|
689
|
-
<span class='object_link'><a href="
|
|
690
|
-
<small>
|
|
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
691
|
</div>
|
|
692
692
|
</li>
|
|
693
693
|
|
|
694
694
|
|
|
695
695
|
<li class="even ">
|
|
696
696
|
<div class="item">
|
|
697
|
-
<span class='object_link'><a href="
|
|
698
|
-
<small>
|
|
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
699
|
</div>
|
|
700
700
|
</li>
|
|
701
701
|
|
|
702
702
|
|
|
703
703
|
<li class="odd ">
|
|
704
704
|
<div class="item">
|
|
705
|
-
<span class='object_link'><a href="
|
|
706
|
-
<small>
|
|
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
707
|
</div>
|
|
708
708
|
</li>
|
|
709
709
|
|
|
710
710
|
|
|
711
711
|
<li class="even ">
|
|
712
712
|
<div class="item">
|
|
713
|
-
<span class='object_link'><a href="
|
|
714
|
-
<small>
|
|
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
715
|
</div>
|
|
716
716
|
</li>
|
|
717
717
|
|
|
718
718
|
|
|
719
719
|
<li class="odd ">
|
|
720
720
|
<div class="item">
|
|
721
|
-
<span class='object_link'><a href="
|
|
722
|
-
<small>
|
|
723
|
-
</div>
|
|
724
|
-
</li>
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
<li class="even ">
|
|
728
|
-
<div class="item">
|
|
729
|
-
<span class='object_link'><a href="LED.html#%D0%B2%D0%BA%D0%BB%D1%8E%D1%87%D0%B8%D1%82%D1%8C-instance_method" title="LED#включить (method)">#включить</a></span>
|
|
730
|
-
<small>LED</small>
|
|
731
|
-
</div>
|
|
732
|
-
</li>
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
<li class="odd ">
|
|
736
|
-
<div class="item">
|
|
737
|
-
<span class='object_link'><a href="LED.html#%D0%B2%D1%8B%D0%BA%D0%BB%D1%8E%D1%87%D0%B8%D1%82%D1%8C-instance_method" title="LED#выключить (method)">#выключить</a></span>
|
|
738
|
-
<small>LED</small>
|
|
739
|
-
</div>
|
|
740
|
-
</li>
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
<li class="even ">
|
|
744
|
-
<div class="item">
|
|
745
|
-
<span class='object_link'><a href="LED.html#%D0%BC%D0%B8%D0%B3%D0%B0%D1%82%D1%8C-instance_method" title="LED#мигать (method)">#мигать</a></span>
|
|
746
|
-
<small>LED</small>
|
|
747
|
-
</div>
|
|
748
|
-
</li>
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
<li class="odd ">
|
|
752
|
-
<div class="item">
|
|
753
|
-
<span class='object_link'><a href="LED.html#%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D1%82%D1%8C-class_method" title="LED.создать (method)">создать</a></span>
|
|
754
|
-
<small>LED</small>
|
|
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>
|
|
755
723
|
</div>
|
|
756
724
|
</li>
|
|
757
725
|
|