Hallo Pinsel,

ja, so hab ich es auch gemacht.

PortC.0 bis PortC.4 muß Input sein. Linienlicht ist PortC.5, Output
Code:
Linienlicht = 1
Portc = Portc Or &B00011111
For I = 0 To 4
     S = I + 1
     Pc_(s) = Getadc(i)
Next
Gruß, Michael