Ich habe folgende Code:
$regfile "m8def.dat"
$crystal = 1000000

Config Dcf77 = Pind.2 , Inverted = 0 , Timer = 1 , Debug = 0 , Check = 1 , Gosub = Sectic
'Config Date = Dmy , Separator = .
Reset Portd.2
'Config Dcf77 = Pind.2 , Timer = 1 ,
Config Date = Dmy , Separator = .

Config Lcd = 16 * 2 'wir verwenden ein 16*2 Zeichen Display
' Im I/O Mode wird jeder Prozessor Pin einzeln angegeben
Config Lcdpin = Pin , Db4 = Portc.0 , Db5 = Portc.1 , Db6 = Portc.2 , Db7 = Portc.3 , E = Portd.5 , Rs = Portd.6

Dcfpon Alias Portd.3
Config Dcfpon = Output
Set Dcfpon

Set Dcfpon
Reset Dcfpon

Enable Interrupts


Do


Waitms 1000

Locate 1, 1
'intern
Lcd Time$ ; " " ; Date$ ; " "
Locate 2, 1
'DCF:
Lcd Time(dcf_sec) ; " " ; Date(dcf_day) ; " "



Loop

End

'optional, is called every second by the library
Sectic:

'If Dcf_status.7 = 0 Then
' Locate 2 , 1
' Lcd "synchronisiere"
' Wait 2
'End If

Return

da ist doch Port2 der DCF Eingang oder?