Programmed Circuit

From GT New Horizons

You can program Programmed Circuit with this logic Replace number with the screwdriver for wanted number

You can also use the Circuit Programmer from GT++ now, if you don't want to fiddle around with a screwdriver. This dedicated block lets you program circuits in a GUI. Alternatively, there is a hand-held version from BartWorks, that needs to be charged to function.