Method: Tinkerforge::BrickletCompass#reset

Defined in:
lib/tinkerforge/bricklet_compass.rb

#resetObject

Calling this function will reset the Bricklet. All configurations will be lost.

After a reset you have to create new device objects, calling functions on the existing ones will result in undefined behavior!



352
353
354
355
356
# File 'lib/tinkerforge/bricklet_compass.rb', line 352

def reset
  check_validity

  send_request FUNCTION_RESET, [], '', 8, ''
end