|
ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
|
This is assuming the use of the FT232H USB<–>Serial converter.
All that should be needed to develop is running bootstrap.bat.
That should have the necessary modules and Enlighten.py has the environment variable setting, i.e.:
C:> set BLINKA_FT232H="1"
If there are any issues connecting though, this tutorial should resolve them:
While setting up an installed version of ENLIGHTEN 3.x on a new Windows computer, Zadig was still required to replace the driver as in the linked tutorial. If the driver wasn't libusbk then Enlighten wouldn't see the FT232 board.
Typical sequence:
$ export BLINKA_FT232H=1
MacOS: $ export DYLD_LIBRARY_PATH=/usr/local/lib
Wasatch.PY (specifically, SPIDevice.py) contains default assumptions about how your Adafruit FT232H is wired into the 15-pin Accessory Connector, as well as the baud rate and USB block-size for communicating with the FT232H.
You can override those defaults by setting environment variables before running ENLIGHTEN. See here for more information: