tinkerforge 2.1.9 → 2.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. data/lib/tinkerforge/brick_dc.rb +2 -2
  2. data/lib/tinkerforge/brick_imu.rb +2 -2
  3. data/lib/tinkerforge/brick_imu_v2.rb +2 -2
  4. data/lib/tinkerforge/brick_master.rb +3 -2
  5. data/lib/tinkerforge/brick_red.rb +2 -2
  6. data/lib/tinkerforge/brick_servo.rb +2 -2
  7. data/lib/tinkerforge/brick_stepper.rb +2 -2
  8. data/lib/tinkerforge/bricklet_accelerometer.rb +2 -2
  9. data/lib/tinkerforge/bricklet_ambient_light.rb +2 -2
  10. data/lib/tinkerforge/bricklet_ambient_light_v2.rb +2 -2
  11. data/lib/tinkerforge/bricklet_analog_in.rb +2 -2
  12. data/lib/tinkerforge/bricklet_analog_in_v2.rb +2 -2
  13. data/lib/tinkerforge/bricklet_analog_out.rb +2 -2
  14. data/lib/tinkerforge/bricklet_analog_out_v2.rb +2 -2
  15. data/lib/tinkerforge/bricklet_barometer.rb +2 -2
  16. data/lib/tinkerforge/bricklet_can.rb +4 -2
  17. data/lib/tinkerforge/bricklet_co2.rb +2 -2
  18. data/lib/tinkerforge/bricklet_color.rb +2 -2
  19. data/lib/tinkerforge/bricklet_current12.rb +2 -2
  20. data/lib/tinkerforge/bricklet_current25.rb +2 -2
  21. data/lib/tinkerforge/bricklet_distance_ir.rb +2 -2
  22. data/lib/tinkerforge/bricklet_distance_us.rb +2 -2
  23. data/lib/tinkerforge/bricklet_dual_button.rb +2 -2
  24. data/lib/tinkerforge/bricklet_dual_relay.rb +2 -2
  25. data/lib/tinkerforge/bricklet_dust_detector.rb +2 -2
  26. data/lib/tinkerforge/bricklet_gps.rb +2 -2
  27. data/lib/tinkerforge/bricklet_hall_effect.rb +2 -2
  28. data/lib/tinkerforge/bricklet_humidity.rb +2 -2
  29. data/lib/tinkerforge/bricklet_industrial_analog_out.rb +2 -2
  30. data/lib/tinkerforge/bricklet_industrial_digital_in_4.rb +2 -2
  31. data/lib/tinkerforge/bricklet_industrial_digital_out_4.rb +2 -2
  32. data/lib/tinkerforge/bricklet_industrial_dual_0_20ma.rb +2 -2
  33. data/lib/tinkerforge/bricklet_industrial_dual_analog_in.rb +2 -2
  34. data/lib/tinkerforge/bricklet_industrial_quad_relay.rb +2 -2
  35. data/lib/tinkerforge/bricklet_io16.rb +2 -2
  36. data/lib/tinkerforge/bricklet_io4.rb +2 -2
  37. data/lib/tinkerforge/bricklet_joystick.rb +2 -2
  38. data/lib/tinkerforge/bricklet_laser_range_finder.rb +2 -2
  39. data/lib/tinkerforge/bricklet_lcd_16x2.rb +2 -2
  40. data/lib/tinkerforge/bricklet_lcd_20x4.rb +2 -2
  41. data/lib/tinkerforge/bricklet_led_strip.rb +194 -17
  42. data/lib/tinkerforge/bricklet_line.rb +2 -2
  43. data/lib/tinkerforge/bricklet_linear_poti.rb +2 -2
  44. data/lib/tinkerforge/bricklet_load_cell.rb +2 -2
  45. data/lib/tinkerforge/bricklet_moisture.rb +2 -2
  46. data/lib/tinkerforge/bricklet_motion_detector.rb +2 -2
  47. data/lib/tinkerforge/bricklet_multi_touch.rb +2 -2
  48. data/lib/tinkerforge/bricklet_nfc_rfid.rb +2 -2
  49. data/lib/tinkerforge/bricklet_oled_128x64.rb +2 -2
  50. data/lib/tinkerforge/bricklet_oled_64x48.rb +2 -2
  51. data/lib/tinkerforge/bricklet_piezo_buzzer.rb +2 -2
  52. data/lib/tinkerforge/bricklet_piezo_speaker.rb +2 -2
  53. data/lib/tinkerforge/bricklet_ptc.rb +2 -2
  54. data/lib/tinkerforge/bricklet_real_time_clock.rb +2 -2
  55. data/lib/tinkerforge/bricklet_remote_switch.rb +2 -2
  56. data/lib/tinkerforge/bricklet_rgb_led.rb +2 -2
  57. data/lib/tinkerforge/bricklet_rotary_encoder.rb +2 -2
  58. data/lib/tinkerforge/bricklet_rotary_poti.rb +2 -2
  59. data/lib/tinkerforge/bricklet_rs232.rb +2 -2
  60. data/lib/tinkerforge/bricklet_segment_display_4x7.rb +2 -2
  61. data/lib/tinkerforge/bricklet_solid_state_relay.rb +2 -2
  62. data/lib/tinkerforge/bricklet_sound_intensity.rb +2 -2
  63. data/lib/tinkerforge/bricklet_temperature.rb +2 -2
  64. data/lib/tinkerforge/bricklet_temperature_ir.rb +2 -2
  65. data/lib/tinkerforge/bricklet_thermocouple.rb +2 -2
  66. data/lib/tinkerforge/bricklet_tilt.rb +2 -2
  67. data/lib/tinkerforge/bricklet_uv_light.rb +2 -2
  68. data/lib/tinkerforge/bricklet_voltage.rb +2 -2
  69. data/lib/tinkerforge/bricklet_voltage_current.rb +2 -2
  70. data/lib/tinkerforge/version.rb +1 -1
  71. metadata +2 -2
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -33,18 +33,57 @@ module Tinkerforge
33
33
  FUNCTION_GET_CLOCK_FREQUENCY = 8 # :nodoc:
34
34
  FUNCTION_SET_CHIP_TYPE = 9 # :nodoc:
35
35
  FUNCTION_GET_CHIP_TYPE = 10 # :nodoc:
36
+ FUNCTION_SET_RGBW_VALUES = 11 # :nodoc:
37
+ FUNCTION_GET_RGBW_VALUES = 12 # :nodoc:
38
+ FUNCTION_SET_CHANNEL_MAPPING = 13 # :nodoc:
39
+ FUNCTION_GET_CHANNEL_MAPPING = 14 # :nodoc:
40
+ FUNCTION_ENABLE_FRAME_RENDERED_CALLBACK = 15 # :nodoc:
41
+ FUNCTION_DISABLE_FRAME_RENDERED_CALLBACK = 16 # :nodoc:
42
+ FUNCTION_IS_FRAME_RENDERED_CALLBACK_ENABLED = 17 # :nodoc:
36
43
  FUNCTION_GET_IDENTITY = 255 # :nodoc:
37
44
 
38
45
  CHIP_TYPE_WS2801 = 2801 # :nodoc:
39
46
  CHIP_TYPE_WS2811 = 2811 # :nodoc:
40
47
  CHIP_TYPE_WS2812 = 2812 # :nodoc:
48
+ CHIP_TYPE_LPD8806 = 8806 # :nodoc:
49
+ CHIP_TYPE_APA102 = 102 # :nodoc:
50
+ CHANNEL_MAPPING_RGB = 6 # :nodoc:
51
+ CHANNEL_MAPPING_RBG = 9 # :nodoc:
52
+ CHANNEL_MAPPING_BRG = 33 # :nodoc:
53
+ CHANNEL_MAPPING_BGR = 36 # :nodoc:
54
+ CHANNEL_MAPPING_GRB = 18 # :nodoc:
55
+ CHANNEL_MAPPING_GBR = 24 # :nodoc:
56
+ CHANNEL_MAPPING_RGBW = 27 # :nodoc:
57
+ CHANNEL_MAPPING_RGWB = 30 # :nodoc:
58
+ CHANNEL_MAPPING_RBGW = 39 # :nodoc:
59
+ CHANNEL_MAPPING_RBWG = 45 # :nodoc:
60
+ CHANNEL_MAPPING_RWGB = 54 # :nodoc:
61
+ CHANNEL_MAPPING_RWBG = 57 # :nodoc:
62
+ CHANNEL_MAPPING_GRWB = 78 # :nodoc:
63
+ CHANNEL_MAPPING_GRBW = 75 # :nodoc:
64
+ CHANNEL_MAPPING_GBWR = 108 # :nodoc:
65
+ CHANNEL_MAPPING_GBRW = 99 # :nodoc:
66
+ CHANNEL_MAPPING_GWBR = 120 # :nodoc:
67
+ CHANNEL_MAPPING_GWRB = 114 # :nodoc:
68
+ CHANNEL_MAPPING_BRGW = 135 # :nodoc:
69
+ CHANNEL_MAPPING_BRWG = 141 # :nodoc:
70
+ CHANNEL_MAPPING_BGRW = 147 # :nodoc:
71
+ CHANNEL_MAPPING_BGWR = 156 # :nodoc:
72
+ CHANNEL_MAPPING_BWRG = 177 # :nodoc:
73
+ CHANNEL_MAPPING_BWGR = 180 # :nodoc:
74
+ CHANNEL_MAPPING_WRBG = 201 # :nodoc:
75
+ CHANNEL_MAPPING_WRGB = 198 # :nodoc:
76
+ CHANNEL_MAPPING_WGBR = 216 # :nodoc:
77
+ CHANNEL_MAPPING_WGRB = 210 # :nodoc:
78
+ CHANNEL_MAPPING_WBGR = 228 # :nodoc:
79
+ CHANNEL_MAPPING_WBRG = 225 # :nodoc:
41
80
 
42
81
  # Creates an object with the unique device ID <tt>uid</tt> and adds it to
43
82
  # the IP Connection <tt>ipcon</tt>.
44
83
  def initialize(uid, ipcon)
45
84
  super uid, ipcon
46
85
 
47
- @api_version = [2, 0, 2]
86
+ @api_version = [2, 0, 3]
48
87
 
49
88
  @response_expected[FUNCTION_SET_RGB_VALUES] = RESPONSE_EXPECTED_FALSE
50
89
  @response_expected[FUNCTION_GET_RGB_VALUES] = RESPONSE_EXPECTED_ALWAYS_TRUE
@@ -56,14 +95,25 @@ module Tinkerforge
56
95
  @response_expected[FUNCTION_GET_CLOCK_FREQUENCY] = RESPONSE_EXPECTED_ALWAYS_TRUE
57
96
  @response_expected[FUNCTION_SET_CHIP_TYPE] = RESPONSE_EXPECTED_FALSE
58
97
  @response_expected[FUNCTION_GET_CHIP_TYPE] = RESPONSE_EXPECTED_ALWAYS_TRUE
98
+ @response_expected[FUNCTION_SET_RGBW_VALUES] = RESPONSE_EXPECTED_FALSE
99
+ @response_expected[FUNCTION_GET_RGBW_VALUES] = RESPONSE_EXPECTED_ALWAYS_TRUE
100
+ @response_expected[FUNCTION_SET_CHANNEL_MAPPING] = RESPONSE_EXPECTED_FALSE
101
+ @response_expected[FUNCTION_GET_CHANNEL_MAPPING] = RESPONSE_EXPECTED_ALWAYS_TRUE
102
+ @response_expected[FUNCTION_ENABLE_FRAME_RENDERED_CALLBACK] = RESPONSE_EXPECTED_TRUE
103
+ @response_expected[FUNCTION_DISABLE_FRAME_RENDERED_CALLBACK] = RESPONSE_EXPECTED_TRUE
104
+ @response_expected[FUNCTION_IS_FRAME_RENDERED_CALLBACK_ENABLED] = RESPONSE_EXPECTED_ALWAYS_TRUE
59
105
  @response_expected[FUNCTION_GET_IDENTITY] = RESPONSE_EXPECTED_ALWAYS_TRUE
60
106
 
61
107
  @callback_formats[CALLBACK_FRAME_RENDERED] = 'S'
62
108
  end
63
109
 
64
- # Sets the *rgb* values for the LEDs with the given *length* starting
110
+ # Sets the RGB values for the LEDs with the given *length* starting
65
111
  # from *index*.
66
112
  #
113
+ # To make the colors show correctly you need to configure the chip type
114
+ # (BrickletLEDStrip#set_chip_type) and a 3-channel channel mapping (BrickletLEDStrip#set_channel_mapping)
115
+ # according to the connected LEDs.
116
+ #
67
117
  # The maximum length is 16, the index goes from 0 to 319 and the rgb values
68
118
  # have 8 bits each.
69
119
  #
@@ -82,10 +132,10 @@ module Tinkerforge
82
132
  # The colors will be transfered to actual LEDs when the next
83
133
  # frame duration ends, see BrickletLEDStrip#set_frame_duration.
84
134
  #
85
- # Generic approach:
135
+ # Generic approach:
86
136
  #
87
137
  # * Set the frame duration to a value that represents
88
- # the number of frames per second you want to achieve.
138
+ # the number of frames per second you want to achieve.
89
139
  # * Set all of the LED colors for one frame.
90
140
  # * Wait for the CALLBACK_FRAME_RENDERED callback.
91
141
  # * Set all of the LED colors for next frame.
@@ -103,7 +153,7 @@ module Tinkerforge
103
153
  send_request(FUNCTION_SET_RGB_VALUES, [index, length, r, g, b], 'S C C16 C16 C16', 0, '')
104
154
  end
105
155
 
106
- # Returns *rgb* values with the given *length* starting from the
156
+ # Returns RGB value with the given *length* starting from the
107
157
  # given *index*.
108
158
  #
109
159
  # The values are the last values that were set by BrickletLEDStrip#set_rgb_values.
@@ -114,7 +164,7 @@ module Tinkerforge
114
164
  # Sets the frame duration in ms.
115
165
  #
116
166
  # Example: If you want to achieve 20 frames per second, you should
117
- # set the frame duration to 50ms (50ms * 20 = 1 second).
167
+ # set the frame duration to 50ms (50ms * 20 = 1 second).
118
168
  #
119
169
  # For an explanation of the general approach see BrickletLEDStrip#set_rgb_values.
120
170
  #
@@ -164,17 +214,16 @@ module Tinkerforge
164
214
  send_request(FUNCTION_GET_CLOCK_FREQUENCY, [], '', 4, 'L')
165
215
  end
166
216
 
167
- # Sets the type of the led driver chip. We currently support
168
- # the chips
169
- #
170
- # * WS2801 (``chip`` = 2801),
171
- # * WS2811 (``chip`` = 2811) and
172
- # * WS2812 (``chip`` = 2812).
217
+ # Sets the type of the LED driver chip. We currently support the chips
173
218
  #
174
- # The WS2812 is sometimes also called "NeoPixel", a name coined by
175
- # Adafruit.
219
+ # * WS2801,
220
+ # * WS2811,
221
+ # * WS2812 / SK6812 / NeoPixel RGB,
222
+ # * SK6812RGBW / NeoPixel RGBW (Chip Type = WS2812),
223
+ # * LPD8806 and
224
+ # * APA102 / DotStar.
176
225
  #
177
- # The default value is WS2801 (``chip`` = 2801).
226
+ # The default value is WS2801 (2801).
178
227
  #
179
228
  # .. versionadded:: 2.0.2$nbsp;(Plugin)
180
229
  def set_chip_type(chip)
@@ -188,6 +237,134 @@ module Tinkerforge
188
237
  send_request(FUNCTION_GET_CHIP_TYPE, [], '', 2, 'S')
189
238
  end
190
239
 
240
+ # Sets the RGBW values for the LEDs with the given *length* starting
241
+ # from *index*.
242
+ #
243
+ # To make the colors show correctly you need to configure the chip type
244
+ # (BrickletLEDStrip#set_chip_type) and a 4-channel channel mapping (BrickletLEDStrip#set_channel_mapping)
245
+ # according to the connected LEDs.
246
+ #
247
+ # The maximum length is 12, the index goes from 0 to 239 and the rgbw values
248
+ # have 8 bits each.
249
+ #
250
+ # Example: If you set
251
+ #
252
+ # * index to 5,
253
+ # * length to 4,
254
+ # * r to [255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
255
+ # * g to [0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
256
+ # * b to [0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0] and
257
+ # * w to [0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0]
258
+ #
259
+ # the LED with index 5 will be red, 6 will be green, 7 will be blue and 8 will be white.
260
+ #
261
+ # .. note:: Depending on the LED circuitry colors can be permuted.
262
+ #
263
+ # The colors will be transfered to actual LEDs when the next
264
+ # frame duration ends, see BrickletLEDStrip#set_frame_duration.
265
+ #
266
+ # Generic approach:
267
+ #
268
+ # * Set the frame duration to a value that represents
269
+ # the number of frames per second you want to achieve.
270
+ # * Set all of the LED colors for one frame.
271
+ # * Wait for the CALLBACK_FRAME_RENDERED callback.
272
+ # * Set all of the LED colors for next frame.
273
+ # * Wait for the CALLBACK_FRAME_RENDERED callback.
274
+ # * and so on.
275
+ #
276
+ # This approach ensures that you can change the LED colors with
277
+ # a fixed frame rate.
278
+ #
279
+ # The actual number of controllable LEDs depends on the number of free
280
+ # Bricklet ports. See :ref:`here <led_strip_bricklet_ram_constraints>` for more
281
+ # information. A call of BrickletLEDStrip#set_rgbw_values with index + length above the
282
+ # bounds is ignored completely.
283
+ #
284
+ # The LPD8806 LED driver chips have 7-bit channels for RGB. Internally the LED
285
+ # Strip Bricklets divides the 8-bit values set using this function by 2 to make
286
+ # them 7-bit. Therefore, you can just use the normal value range (0-255) for
287
+ # LPD8806 LEDs.
288
+ #
289
+ # The brightness channel of the APA102 LED driver chips has 5-bit. Internally the
290
+ # LED Strip Bricklets divides the 8-bit values set using this function by 8 to make
291
+ # them 5-bit. Therefore, you can just use the normal value range (0-255) for
292
+ # the brightness channel of APA102 LEDs.
293
+ #
294
+ # .. versionadded:: 2.0.6$nbsp;(Plugin)
295
+ def set_rgbw_values(index, length, r, g, b, w)
296
+ send_request(FUNCTION_SET_RGBW_VALUES, [index, length, r, g, b, w], 'S C C12 C12 C12 C12', 0, '')
297
+ end
298
+
299
+ # Returns RGBW values with the given *length* starting from the
300
+ # given *index*.
301
+ #
302
+ # The values are the last values that were set by BrickletLEDStrip#set_rgbw_values.
303
+ #
304
+ # .. versionadded:: 2.0.6$nbsp;(Plugin)
305
+ def get_rgbw_values(index, length)
306
+ send_request(FUNCTION_GET_RGBW_VALUES, [index, length], 'S C', 48, 'C12 C12 C12 C12')
307
+ end
308
+
309
+ # Sets the channel mapping for the connected LEDs.
310
+ #
311
+ # BrickletLEDStrip#set_rgb_values and BrickletLEDStrip#set_rgbw_values take the data in RGB(W) order.
312
+ # But the connected LED driver chips might have their 3 or 4 channels in a
313
+ # different order. For example, the WS2801 chips typically use BGR order, the
314
+ # WS2812 chips typically use GRB order and the APA102 chips typically use WBGR
315
+ # order.
316
+ #
317
+ # The APA102 chips are special. They have three 8-bit channels for RGB
318
+ # and an additional 5-bit channel for the overall brightness of the RGB LED
319
+ # making them 4-channel chips. Internally the brightness channel is the first
320
+ # channel, therefore one of the Wxyz channel mappings should be used. Then
321
+ # the W channel controls the brightness.
322
+ #
323
+ # If a 3-channel mapping is selected then BrickletLEDStrip#set_rgb_values has to be used.
324
+ # Calling BrickletLEDStrip#set_rgbw_values with a 3-channel mapping will produce incorrect
325
+ # results. Vice-versa if a 4-channel mapping is selected then
326
+ # BrickletLEDStrip#set_rgbw_values has to be used. Calling BrickletLEDStrip#set_rgb_values with a
327
+ # 4-channel mapping will produce incorrect results.
328
+ #
329
+ # The default value is BGR (36).
330
+ #
331
+ # .. versionadded:: 2.0.6$nbsp;(Plugin)
332
+ def set_channel_mapping(mapping)
333
+ send_request(FUNCTION_SET_CHANNEL_MAPPING, [mapping], 'C', 0, '')
334
+ end
335
+
336
+ # Returns the currently used channel mapping as set by BrickletLEDStrip#set_channel_mapping.
337
+ #
338
+ # .. versionadded:: 2.0.6$nbsp;(Plugin)
339
+ def get_channel_mapping
340
+ send_request(FUNCTION_GET_CHANNEL_MAPPING, [], '', 1, 'C')
341
+ end
342
+
343
+ # Enables the CALLBACK_FRAME_RENDERED callback.
344
+ #
345
+ # By default the callback is enabled.
346
+ #
347
+ # .. versionadded:: 2.0.6$nbsp;(Plugin)
348
+ def enable_frame_rendered_callback
349
+ send_request(FUNCTION_ENABLE_FRAME_RENDERED_CALLBACK, [], '', 0, '')
350
+ end
351
+
352
+ # Disables the CALLBACK_FRAME_RENDERED callback.
353
+ #
354
+ # By default the callback is enabled.
355
+ #
356
+ # .. versionadded:: 2.0.6$nbsp;(Plugin)
357
+ def disable_frame_rendered_callback
358
+ send_request(FUNCTION_DISABLE_FRAME_RENDERED_CALLBACK, [], '', 0, '')
359
+ end
360
+
361
+ # Returns *true* if the CALLBACK_FRAME_RENDERED callback is enabled, *false* otherwise.
362
+ #
363
+ # .. versionadded:: 2.0.6$nbsp;(Plugin)
364
+ def is_frame_rendered_callback_enabled
365
+ send_request(FUNCTION_IS_FRAME_RENDERED_CALLBACK_ENABLED, [], '', 1, '?')
366
+ end
367
+
191
368
  # Returns the UID, the UID where the Bricklet is connected to,
192
369
  # the position, the hardware and firmware version as well as the
193
370
  # device identifier.
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2016-06-30. #
3
+ # This file was automatically generated on 2016-09-08. #
4
4
  # #
5
- # Ruby Bindings Version 2.1.9 #
5
+ # Ruby Bindings Version 2.1.10 #
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 #