Class: BeagleBoard::BeagleBoneBlack
- Inherits:
-
BeagleBone
- Object
- AM335x
- BeagleBone
- BeagleBoard::BeagleBoneBlack
- Defined in:
- lib/beagleboard/beagleboneblack.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ BeagleBoneBlack
constructor
A new instance of BeagleBoneBlack.
- #p9_41 ⇒ Object
- #p9_42 ⇒ Object
Methods inherited from AM335x
#method_missing, #respond_to_missing?
Constructor Details
#initialize(options = {}) ⇒ BeagleBoneBlack
Returns a new instance of BeagleBoneBlack.
39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/beagleboard/beagleboneblack.rb', line 39 def initialize( = {}) = { capes: %i[emmc hdmi] } = .merge() super() extend Cape::Hdmi if [:capes].include? :hdmi extend Cape::Emmc if [:capes].include? :emmc end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class BeagleBoard::AM335x
Instance Method Details
#p9_41 ⇒ Object
51 52 53 54 55 |
# File 'lib/beagleboard/beagleboneblack.rb', line 51 def p9_41 return @p9_41 if instance_variable_defined?(:@p9_41) p9_41a.direction = :in @p9_41 = p9_41b # rubocop:disable Naming/VariableNumber end |
#p9_42 ⇒ Object
57 58 59 60 61 |
# File 'lib/beagleboard/beagleboneblack.rb', line 57 def p9_42 return @p9_42 if instance_variable_defined?(:@p9_42) p9_42a.direction = :in @p9_42 = p9_42b # rubocop:disable Naming/VariableNumber end |