A framework for controlling ledstrips