Class: Firmata::Board::Pin
- Inherits:
-
Struct
- Object
- Struct
- Firmata::Board::Pin
- Defined in:
- lib/firmata/board.rb
Overview
Internal: Data structure representing a pin on Arduino.
Instance Attribute Summary collapse
-
#analog_channel ⇒ Object
Returns the value of attribute analog_channel.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#supported_modes ⇒ Object
Returns the value of attribute supported_modes.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#analog_channel ⇒ Object
Returns the value of attribute analog_channel
10 11 12 |
# File 'lib/firmata/board.rb', line 10 def analog_channel @analog_channel end |
#mode ⇒ Object
Returns the value of attribute mode
10 11 12 |
# File 'lib/firmata/board.rb', line 10 def mode @mode end |
#supported_modes ⇒ Object
Returns the value of attribute supported_modes
10 11 12 |
# File 'lib/firmata/board.rb', line 10 def supported_modes @supported_modes end |
#value ⇒ Object
Returns the value of attribute value
10 11 12 |
# File 'lib/firmata/board.rb', line 10 def value @value end |