Module: SPI::Driver

Included in:
Base
Defined in:
lib/spi/driver.rb,
lib/spi/driver/spidev.rb

Defined Under Namespace

Classes: Base, SPIdev

Instance Method Summary collapse

Instance Method Details

#xferObject

Raises:

  • (NotImplementedError)

8
9
10
# File 'lib/spi/driver.rb', line 8

def xfer
  raise NotImplementedError, "xfer needs to be defined per Driver Library"
end