hallo zusammen, hier mal der Code:

hier ist eine Sekunde ach eine Sekunde:
Code:
$regfile = "m32def.dat"

$crystal = 16000000


'Servo Config
'Config Servos = 1 , Servo1 = Portc.1 , Reload = 15
Config Portc = Output
'Servo Config

Enable Interrupts

Portc.2 = 0

Do
Toggle Portc.2
Waitms 1000
Loop


End
und hier der Code wo in 60 Sekunden die LED nur 42 mal blinkt --> eine Sekunde sind 1,4 Sekunden:
Code:
$regfile = "m32def.dat"

$crystal = 16000000


'Servo Config
Config Servos = 1 , Servo1 = Portc.1 , Reload = 15
Config Portc = Output
'Servo Config

Enable Interrupts

Portc.2 = 0

Do
Toggle Portc.2
Waitms 1000
Loop


End