Wasatch.PY
Python application driver for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
wasatch.SPIDevice.CommandTuple Class Reference

Public Member Functions

 __init__ (self, address, value, write_len, name)
 
 __str__ (self)
 

Public Attributes

 address
 
 name
 
 value
 
 write_len
 

Detailed Description

Note
write_len includes the opcode (address) itself, so a 1-byte value like PixelMode has write_len 2, and a 24-bit value like Integration Time has write_len 4.

Constructor & Destructor Documentation

◆ __init__()

wasatch.SPIDevice.CommandTuple.__init__ ( self,
address,
value,
write_len,
name )

Member Function Documentation

◆ __str__()

wasatch.SPIDevice.CommandTuple.__str__ ( self)

Member Data Documentation

◆ address

wasatch.SPIDevice.CommandTuple.address

◆ name

wasatch.SPIDevice.CommandTuple.name

◆ value

wasatch.SPIDevice.CommandTuple.value

◆ write_len

wasatch.SPIDevice.CommandTuple.write_len

The documentation for this class was generated from the following file: