so habs:
$regfile = "m8def.dat"
$crystal = 1000000
$baud = 9600

Config Portb.0 = Output
Config Pinc.0 = Input
Config Portb.1 = Output
Config Pinc.1 = Input

Portc.0 = 1
Portc.1 = 1
Do
If Pinc.0 = 1 Then
Portb.0 = 1
Portb.1 = 0
Portb.1 = 0

Else
Portb.0 = 0
Wait 2
Portb.1 = 1
Wait 5
Portb.1 = 0
Wait 2
End If
If Pinc.1 = 1 Then
Portb.2 = 1
Portb.3 = 0
Portb.3 = 0

Else
Portb.2 = 0
Wait 2
Portb.3 = 1
Wait 5
Portb.3 = 0
Wait 2
End If
Loop
End


so jetzt möchte ich dass dieses programm per tasterdruck 5 minuten durchläuft wie mache ich denn dass?