Exception: HardsploitAPI::ERROR::I2CWrongSpeed
- Defined in:
- lib/hardsploit-api/HardsploitAPI/Core/HardsploitAPI_ERROR.rb
Instance Method Summary collapse
-
#initialize(msg = "Uknown speed, speed must be KHZ_100 = 0, KHZ_400 = 1,KHZ_1000 = 2") ⇒ I2CWrongSpeed
constructor
A new instance of I2CWrongSpeed.
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/hardsploit-api/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 |