We now have the basic sensing and dimming functions completed, using the MIDI dimmer and three photosensors over TCP/IP. The effect is excellent when the refresh rate is high. If we decide to go with a less frequent refresh rate, then a smoothing algorithm will need to be added so that the light levels do not jump noticeably but instead adjust appropriately over time. Here is the current sensor and display code.