Exception: HardsploitAPI::ERROR::I2CWrongSpeed

Inherits:
Standard
  • Object
show all
Defined in:
lib/HardsploitAPI/Core/HardsploitAPI_ERROR.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Uknown speed, speed must be KHZ_100 = 0, KHZ_400 = 1,KHZ_1000 = 2") ⇒ I2CWrongSpeed

Returns a new instance of I2CWrongSpeed.



35
36
37
# File 'lib/HardsploitAPI/Core/HardsploitAPI_ERROR.rb', line 35

def initialize(msg="Uknown speed, speed must be KHZ_100 = 0, KHZ_400 = 1,KHZ_1000 = 2")
		super(msg)
end