Clock=Soft Uhr läuft nicht, was ist falsch?
Habe einen Uhrenquarz an Atmega16 Anschlüsse PortC.6 und 7 angelötet.
Ich verwende folgendes testprogramm (vollständig):
Code:
$regfile = "m16def.dat"
$crystal = 12000000
Config Porta = Output
Config Portb = Output
Config Portd = Output
Config Lcd = 20 * 2
Config Lcdpin = Pin , Port = Portb , E = Portd.4 , Rs = Portd.2
Config Lcdbus = 8
Enable Interrupts
Config Date = Dmy , Separator = .
Config Clock = Soft , Gosub = Sectic
Date$ = "14/02/11"
Time$ = "12:00:00"
Porta = 1
Initlcd
Do
Cls
Lcd Time$
Waitms 500
Loop
End
Sectic:
Toggle Porta.0
LCD zeigt 12:00:00 und bewegt sich keine Sekunde...
Liste der Anhänge anzeigen (Anzahl: 1)
so sieht das Board aus.
Kann der Abstand zu groß sein?
Anhang 18666