Next: Arduino Serial Functions, Previous: Arduino Shiftregister Functions, Up: Function Reference [Contents][Index]
Free resources of a device object.
dev - object to free
See also: device.
Display device object.
dev - device object to display
See also: device.
subref for device
See also: device.
Write uint8 data to spi device and return back clocked out response data of same size.
spi - connected spi device on arduino
dataIn - uint8 sized data to send to spi device framed between SS frame.
dataOut - uint8 data clocked out during send to dataIn.
See also: arduino, device.
Free resources of a spidev object.
dev - spidev object to free
See also: spidev.
Display spidev object.
dev - spidev object to display
See also: spidev.
spidev
is depreciated and will be removed in a future version.
Use device
instead.
Create an spidev object to communicate to the SPI port on a connected arduino.
ar - connected arduino object
cspin - chip select pin for attached spi device.
propname, propvalue - property name/value pair for values to pass to devices.
Currently known properties:
bit rate speed in Mbs
’msbfirst’ or ’lsbfirst’
SPI mode 0 - 3.
dev - created spidev object
The spidev object has the following public properties:
The parent (arduino) for this device
pins used by this object
mode used for created object
Bitrate set for object
Bitorder set for object
Pin used for chipselect
See also: arduino, readWrite.
subref for spidev
See also: spidev.
Write uint8 data to spi device and return back clocked out response data of same size.
spi - connected spi device on arduino
dataIn - uint8 sized data to send to spi device framed between SS frame.
dataOut - uint8 data clocked out during send to dataIn.
See also: arduino, spidev.
Next: Arduino Serial Functions, Previous: Arduino Shiftregister Functions, Up: Function Reference [Contents][Index]