Method: Tinkerforge::BrickletColorV2#read_uid

Defined in:
lib/tinkerforge/bricklet_color_v2.rb

#read_uidObject

Returns the current UID as an integer. Encode as Base58 to get the usual string version.



467
468
469
470
471
# File 'lib/tinkerforge/bricklet_color_v2.rb', line 467

def read_uid
  check_validity

  send_request FUNCTION_READ_UID, [], '', 12, 'L'
end