This tutorial shows that how to control vehicle, pedestrian, free to turn right, and midnight working mode of traffic lights on a junction. To download the Flowcode; http://www.matrixtsl.com/flowcode/
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.