Minor change to blinkanddelay to delay (slightly) more accurately
Added functionality for courtest light