This introduces a precompiler flag to add support for the Adafruit TSL2591 light sensor. It adds serial commands to work with the gain, integration time, and read the full-spectrum diode. I have not defined the flag by default so that it will compile and run happily without the sensor.
This also fixes some issues in the Python code by updating it from the openflexure microscope software repo.
This introduces a precompiler flag to add support for the Adafruit TSL2591 light sensor. It adds serial commands to work with the gain, integration time, and read the full-spectrum diode. I have not defined the flag by default so that it will compile and run happily without the sensor.
This also fixes some issues in the Python code by updating it from the openflexure microscope software repo.