rwb27 / openflexure_nano_motor_controller

A very basic Arduino Nano based unipolar motor controller.
https://gitlab.com/bath_open_instrumentation_group/sangaboard
GNU General Public License v3.0
13 stars 11 forks source link

Adafruit TSL2591 light sensor support #6

Closed rwb27 closed 6 years ago

rwb27 commented 6 years ago

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.