Module: Denko::Behaviors::BoardProxy
Instance Method Summary
collapse
#add_component, #add_hw_i2c, #add_hw_spi, #add_single_pin, #components, #hw_i2c_comps, #hw_spi_comps, #remove_component, #remove_hw_i2c, #remove_hw_spi, #remove_single_pin, #single_pin_components
Instance Method Details
#analog_read_high ⇒ Object
Also known as:
adc_high
14
15
16
|
# File 'lib/denko/behaviors/board_proxy.rb', line 14
def analog_read_high
nil
end
|
#analog_write_high ⇒ Object
Also known as:
pwm_high, dac_high
18
19
20
|
# File 'lib/denko/behaviors/board_proxy.rb', line 18
def analog_write_high
nil
end
|
#convert_pin(pin) ⇒ Object
26
27
28
|
# File 'lib/denko/behaviors/board_proxy.rb', line 26
def convert_pin(pin)
pin.to_i
end
|
#high ⇒ Object
6
7
8
|
# File 'lib/denko/behaviors/board_proxy.rb', line 6
def high
1
end
|
#low ⇒ Object
10
11
12
|
# File 'lib/denko/behaviors/board_proxy.rb', line 10
def low
0
end
|
#set_pin_mode(pin, mode, options = {}) ⇒ Object
30
|
# File 'lib/denko/behaviors/board_proxy.rb', line 30
def set_pin_mode(pin, mode, options={}); end
|
#start_read ⇒ Object
32
|
# File 'lib/denko/behaviors/board_proxy.rb', line 32
def start_read; end
|