tinkerforge 2.0.13 → 2.1.0
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.
- data/lib/tinkerforge/brick_dc.rb +4 -11
- data/lib/tinkerforge/brick_imu.rb +17 -16
- data/lib/tinkerforge/brick_master.rb +96 -86
- data/lib/tinkerforge/brick_servo.rb +5 -12
- data/lib/tinkerforge/brick_stepper.rb +4 -29
- data/lib/tinkerforge/bricklet_ambient_light.rb +4 -5
- data/lib/tinkerforge/bricklet_analog_in.rb +4 -5
- data/lib/tinkerforge/bricklet_analog_out.rb +4 -5
- data/lib/tinkerforge/bricklet_barometer.rb +4 -9
- data/lib/tinkerforge/bricklet_current12.rb +4 -5
- data/lib/tinkerforge/bricklet_current25.rb +4 -5
- data/lib/tinkerforge/bricklet_distance_ir.rb +4 -5
- data/lib/tinkerforge/bricklet_distance_us.rb +4 -5
- data/lib/tinkerforge/bricklet_dual_button.rb +4 -7
- data/lib/tinkerforge/bricklet_dual_relay.rb +4 -13
- data/lib/tinkerforge/bricklet_gps.rb +4 -5
- data/lib/tinkerforge/bricklet_hall_effect.rb +6 -5
- data/lib/tinkerforge/bricklet_humidity.rb +4 -5
- data/lib/tinkerforge/bricklet_industrial_digital_in_4.rb +8 -6
- data/lib/tinkerforge/bricklet_industrial_digital_out_4.rb +7 -11
- data/lib/tinkerforge/bricklet_industrial_dual_0_20ma.rb +4 -5
- data/lib/tinkerforge/bricklet_industrial_quad_relay.rb +9 -13
- data/lib/tinkerforge/bricklet_io16.rb +15 -21
- data/lib/tinkerforge/bricklet_io4.rb +11 -17
- data/lib/tinkerforge/bricklet_joystick.rb +4 -5
- data/lib/tinkerforge/bricklet_lcd_16x2.rb +4 -5
- data/lib/tinkerforge/bricklet_lcd_20x4.rb +4 -5
- data/lib/tinkerforge/bricklet_led_strip.rb +6 -5
- data/lib/tinkerforge/bricklet_line.rb +4 -5
- data/lib/tinkerforge/bricklet_linear_poti.rb +4 -5
- data/lib/tinkerforge/bricklet_moisture.rb +4 -5
- data/lib/tinkerforge/bricklet_motion_detector.rb +4 -5
- data/lib/tinkerforge/bricklet_multi_touch.rb +4 -5
- data/lib/tinkerforge/bricklet_piezo_buzzer.rb +4 -5
- data/lib/tinkerforge/bricklet_piezo_speaker.rb +4 -5
- data/lib/tinkerforge/bricklet_ptc.rb +4 -5
- data/lib/tinkerforge/bricklet_remote_switch.rb +4 -5
- data/lib/tinkerforge/bricklet_rotary_encoder.rb +4 -5
- data/lib/tinkerforge/bricklet_rotary_poti.rb +4 -5
- data/lib/tinkerforge/bricklet_segment_display_4x7.rb +5 -6
- data/lib/tinkerforge/bricklet_sound_intensity.rb +4 -5
- data/lib/tinkerforge/bricklet_temperature.rb +4 -5
- data/lib/tinkerforge/bricklet_temperature_ir.rb +4 -5
- data/lib/tinkerforge/bricklet_tilt.rb +4 -5
- data/lib/tinkerforge/bricklet_voltage.rb +4 -5
- data/lib/tinkerforge/bricklet_voltage_current.rb +4 -5
- data/lib/tinkerforge/ip_connection.rb +73 -6
- data/lib/tinkerforge/version.rb +1 -1
- metadata +2 -2
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -260,9 +260,8 @@ module Tinkerforge
|
|
260
260
|
#
|
261
261
|
# The position can be 'a', 'b', 'c' or 'd'.
|
262
262
|
#
|
263
|
-
# The device
|
264
|
-
#
|
265
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
263
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
264
|
+
# |device_identifier_constant|
|
266
265
|
def get_identity
|
267
266
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
268
267
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -159,9 +159,8 @@ module Tinkerforge
|
|
159
159
|
#
|
160
160
|
# The position can be 'a', 'b', 'c' or 'd'.
|
161
161
|
#
|
162
|
-
# The device
|
163
|
-
#
|
164
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
162
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
163
|
+
# |device_identifier_constant|
|
165
164
|
def get_identity
|
166
165
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
167
166
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -215,9 +215,8 @@ module Tinkerforge
|
|
215
215
|
#
|
216
216
|
# The position can be 'a', 'b', 'c' or 'd'.
|
217
217
|
#
|
218
|
-
# The device
|
219
|
-
#
|
220
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
218
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
219
|
+
# |device_identifier_constant|
|
221
220
|
def get_identity
|
222
221
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
223
222
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -68,6 +68,8 @@ module Tinkerforge
|
|
68
68
|
#
|
69
69
|
# the LED with index 5 will be red, 6 will be green and 7 will be blue.
|
70
70
|
#
|
71
|
+
# .. note:: Depending on the LED circuitry colors can be permuted.
|
72
|
+
#
|
71
73
|
# The colors will be transfered to actual LEDs when the next
|
72
74
|
# frame duration ends, see BrickletLEDStrip#set_frame_duration.
|
73
75
|
#
|
@@ -159,9 +161,8 @@ module Tinkerforge
|
|
159
161
|
#
|
160
162
|
# The position can be 'a', 'b', 'c' or 'd'.
|
161
163
|
#
|
162
|
-
# The device
|
163
|
-
#
|
164
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
164
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
165
|
+
# |device_identifier_constant|
|
165
166
|
def get_identity
|
166
167
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
167
168
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -144,9 +144,8 @@ module Tinkerforge
|
|
144
144
|
#
|
145
145
|
# The position can be 'a', 'b', 'c' or 'd'.
|
146
146
|
#
|
147
|
-
# The device
|
148
|
-
#
|
149
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
147
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
148
|
+
# |device_identifier_constant|
|
150
149
|
def get_identity
|
151
150
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
152
151
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -227,9 +227,8 @@ module Tinkerforge
|
|
227
227
|
#
|
228
228
|
# The position can be 'a', 'b', 'c' or 'd'.
|
229
229
|
#
|
230
|
-
# The device
|
231
|
-
#
|
232
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
230
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
231
|
+
# |device_identifier_constant|
|
233
232
|
def get_identity
|
234
233
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
235
234
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -164,9 +164,8 @@ module Tinkerforge
|
|
164
164
|
#
|
165
165
|
# The position can be 'a', 'b', 'c' or 'd'.
|
166
166
|
#
|
167
|
-
# The device
|
168
|
-
#
|
169
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
167
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
168
|
+
# |device_identifier_constant|
|
170
169
|
def get_identity
|
171
170
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
172
171
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -61,9 +61,8 @@ module Tinkerforge
|
|
61
61
|
#
|
62
62
|
# The position can be 'a', 'b', 'c' or 'd'.
|
63
63
|
#
|
64
|
-
# The device
|
65
|
-
#
|
66
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
64
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
65
|
+
# |device_identifier_constant|
|
67
66
|
def get_identity
|
68
67
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
69
68
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -127,9 +127,8 @@ module Tinkerforge
|
|
127
127
|
#
|
128
128
|
# The position can be 'a', 'b', 'c' or 'd'.
|
129
129
|
#
|
130
|
-
# The device
|
131
|
-
#
|
132
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
130
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
131
|
+
# |device_identifier_constant|
|
133
132
|
def get_identity
|
134
133
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
135
134
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -68,9 +68,8 @@ module Tinkerforge
|
|
68
68
|
#
|
69
69
|
# The position can be 'a', 'b', 'c' or 'd'.
|
70
70
|
#
|
71
|
-
# The device
|
72
|
-
#
|
73
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
71
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
72
|
+
# |device_identifier_constant|
|
74
73
|
def get_identity
|
75
74
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
76
75
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -91,9 +91,8 @@ module Tinkerforge
|
|
91
91
|
#
|
92
92
|
# The position can be 'a', 'b', 'c' or 'd'.
|
93
93
|
#
|
94
|
-
# The device
|
95
|
-
#
|
96
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
94
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
95
|
+
# |device_identifier_constant|
|
97
96
|
def get_identity
|
98
97
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
99
98
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -280,9 +280,8 @@ module Tinkerforge
|
|
280
280
|
#
|
281
281
|
# The position can be 'a', 'b', 'c' or 'd'.
|
282
282
|
#
|
283
|
-
# The device
|
284
|
-
#
|
285
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
283
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
284
|
+
# |device_identifier_constant|
|
286
285
|
def get_identity
|
287
286
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
288
287
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -148,9 +148,8 @@ module Tinkerforge
|
|
148
148
|
#
|
149
149
|
# The position can be 'a', 'b', 'c' or 'd'.
|
150
150
|
#
|
151
|
-
# The device
|
152
|
-
#
|
153
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
151
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
152
|
+
# |device_identifier_constant|
|
154
153
|
def get_identity
|
155
154
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
156
155
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -163,9 +163,8 @@ module Tinkerforge
|
|
163
163
|
#
|
164
164
|
# The position can be 'a', 'b', 'c' or 'd'.
|
165
165
|
#
|
166
|
-
# The device
|
167
|
-
#
|
168
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
166
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
167
|
+
# |device_identifier_constant|
|
169
168
|
def get_identity
|
170
169
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
171
170
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -227,9 +227,8 @@ module Tinkerforge
|
|
227
227
|
#
|
228
228
|
# The position can be 'a', 'b', 'c' or 'd'.
|
229
229
|
#
|
230
|
-
# The device
|
231
|
-
#
|
232
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
230
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
231
|
+
# |device_identifier_constant|
|
233
232
|
def get_identity
|
234
233
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
235
234
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -51,7 +51,7 @@ module Tinkerforge
|
|
51
51
|
# :align: center
|
52
52
|
#
|
53
53
|
# For example to set a "5" you would want to activate segments 0, 2, 3, 5 and 6.
|
54
|
-
# This is represented by the number
|
54
|
+
# This is represented by the number 0b01101101 = 0x6d = 109.
|
55
55
|
#
|
56
56
|
# The brightness can be set between 0 (dark) and 7 (bright). The colon
|
57
57
|
# parameter turns the colon of the display on or off.
|
@@ -94,9 +94,8 @@ module Tinkerforge
|
|
94
94
|
#
|
95
95
|
# The position can be 'a', 'b', 'c' or 'd'.
|
96
96
|
#
|
97
|
-
# The device
|
98
|
-
#
|
99
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
97
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
98
|
+
# |device_identifier_constant|
|
100
99
|
def get_identity
|
101
100
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
102
101
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -144,9 +144,8 @@ module Tinkerforge
|
|
144
144
|
#
|
145
145
|
# The position can be 'a', 'b', 'c' or 'd'.
|
146
146
|
#
|
147
|
-
# The device
|
148
|
-
#
|
149
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
147
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
148
|
+
# |device_identifier_constant|
|
150
149
|
def get_identity
|
151
150
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
152
151
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -172,9 +172,8 @@ module Tinkerforge
|
|
172
172
|
#
|
173
173
|
# The position can be 'a', 'b', 'c' or 'd'.
|
174
174
|
#
|
175
|
-
# The device
|
176
|
-
#
|
177
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
175
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
176
|
+
# |device_identifier_constant|
|
178
177
|
def get_identity
|
179
178
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
180
179
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# -*- ruby encoding: utf-8 -*-
|
2
2
|
#############################################################
|
3
|
-
# This file was automatically generated on
|
3
|
+
# This file was automatically generated on 2014-04-08. #
|
4
4
|
# #
|
5
|
-
# Bindings Version 2.0
|
5
|
+
# Bindings Version 2.1.0 #
|
6
6
|
# #
|
7
7
|
# If you have a bugfix for this file and want to commit it, #
|
8
8
|
# please fix the bug in the generator. You can find a link #
|
@@ -261,9 +261,8 @@ module Tinkerforge
|
|
261
261
|
#
|
262
262
|
# The position can be 'a', 'b', 'c' or 'd'.
|
263
263
|
#
|
264
|
-
# The device
|
265
|
-
#
|
266
|
-
# .. versionadded:: 2.0.0~(Plugin)
|
264
|
+
# The device identifier numbers can be found :ref:`here <device_identifier>`.
|
265
|
+
# |device_identifier_constant|
|
267
266
|
def get_identity
|
268
267
|
send_request(FUNCTION_GET_IDENTITY, [], '', 25, 'Z8 Z8 k C3 C3 S')
|
269
268
|
end
|