ich möchte eine lichtersteuerung erzeugen die Kennungen erzeugt

Beispiel:
Minuten 1 2 3 4
Licht 1 Portc.0 0 1 0 1
Licht 2 Portc.1 0 0 1 1
Licht 3 Portc.2 0 0 0 1

derzeit sieht der code so aus

Code:
do
Portc.0 = 0 : Portc.1 = 0 : Portc.2 = 0 
Waitms 1000 :
Portc.0 = 1  
.....
loop

kann ich das auch so machen ?
Code:
do
Portc. = 0 
Waitms 1000 :
Portc = 1 
Waitms 1000 :
Portc = 2.....
loop
danke für die Hilfe

Gruß molly