12C509A ile iki dakika sayıcı yapmak istiyorum.

Başlatan bkaynak, 23 Mayıs 2006, 17:52:42

bkaynak

12C509A ile butona basıldıktan sonra butona basıldığını sesle bir sn. ikaz edecek,iki dakika sayacak iki dakika sonunda 10 sn. ikaz verecek bir devrenin programına ihtiyacım var.Şimdiden teşekkürler.

Analyzer

Selam,

Heogeldin! Forumu biraz gezersen hazır kod veril(e)mediğini göreceksin dostum. Projeye başlayıp takıldığın yerde soru sorarsan muhtemelen cevap alacaksındır.
Derleyicin nedir? Şemanı proteusta kurdun mu? Önce buradan başlayalım..

Analyzer
Üşeniyorum, öyleyse yarın!

bkaynak

Selam,
Elimde bir kod var aslında.Hex uzantılı.Devre 15-30-45-60 dk . ya ayarlı geri sayıcı.bunu asmye çevirip süreleri 1-2-3-4 dk. olarak değiştirmek istedim asmye çevirdim ancak süreleri değiştiremedim.Kodu paylaşsam yardımcı olabilir misiniz?

bkaynak

Timer 'in asm kodu:
ORG 0xD0
	subwf 0x31,f
	iorwf 0x23,f
	iorwf 0x24,f
	addwf 0x43,w
	incf 0x3F,f
	rrf status,w
	data 0x 2C
	rrf 0x68,f
	sleep
	comf 0x12,w
	iorwf 0x23,f
	decfsz 0x2E,w
	andwf 0x24,f
	data 0x 72
	iorwf 0x24,f
	data 0x 4
	rrf 0x49,f
	andwf 0x24,f
	movwf 0x12
	iorwf 0x23,f
	iorwf 0x24,f
	xorwf status,w
	incf 0x77,f
	rrf tmr0,w
	data 0x 2A
	rrf 0x74,f
	sleep
	comf 0x1F,w
	rrf tmr0,w
	clrf 0x26
	iorwf 0x1A,w
	subwf 0x1A,w
	data 0x 6
	andwf 0x24,f
	subwf 0x32,f
	iorwf 0x23,f
	iorwf 0x24,f
	addwf 0x43,w
	incf 0x5F,f
	iorwf portb,w
	iorwf 0x1A,w
	subwf 0x1A,w
	data 0x 6
	sleep
	incf eeadr,w
	andwf 0x24,f
	data 0x 73
	iorwf 0x24,f
	data 0x 4
	rrf porta,w
	andwf 0x24,f
	movwf 0x13
	iorwf 0x23,f
	iorwf 0x24,f
	xorwf status,w
	decfsz 0x2C,w
	andwf 0x24,f
	data 0x 71
	iorwf 0x24,f
	data 0x 4
	rrf intcon,w
	andwf 0x24,f
	movwf 0x11
	iorwf 0x23,f
	iorwf 0x24,f
	xorwf status,w
	decfsz 0x21,w
	rrf 0x64,w
	sleep
	comf 0x11,w
	rrf pcl,w
	sleep
	comf pcl,w
	sleep
	incf 0x5C,f
	andwf 0x24,f
	subwf 0x31,f
	iorwf 0x23,f
	iorwf 0x24,f
	addwf 0x43,w
	decfsz intcon,w
	rrf status,w
	data 0x 2C
	rrf 0x68,f
	sleep
	comf 0x12,w
	andwf 0x24,f
	subwf 0x33,f
	iorwf 0x23,f
	iorwf 0x24,f
	addwf 0x43,w
	decfsz indf,w
	sleep
	incf eeadr,w
	rrf indf,w
	xorwf 0x46,w
	rrf tmr0,w
	data 0x 29
	rrf tmr0,w
	sleep
	comf 0x49,w
	data 0x 31
	rrf indf,w
	xorwf 0x66,w
	rrf tmr0,w
	data 0x 29
	rrf tmr0,w
	sleep
	comf 0x49,w
	data 0x 33
	subwf 0x11,w
	data 0x 28
	subwf 0x13,w
	sleep
	comf 0x5F,w
	data 0x 33
	data 0x 34
	data 0x 4
	subwf 0x13,w
	clrw
	iorwf 0x23,f
	xorwf 0x43,w
	decfsz 0x4F,w
	andwf 0x24,f
	rrf 0x19,w
	data 0x 30
	iorwf 0x24,f
	rrf indf,w
	xorwf 0x46,w
	rrf tmr0,w
	data 0x 29
	rrf tmr0,w
	sleep
	comf 0x49,w
	data 0x 31
	rrf indf,w
	xorwf 0x66,w
	rrf tmr0,w
	data 0x 29
	rrf indf,w
	sleep
	comf 0x49,w
	data 0x 33
	subwf 0x11,w
	data 0x 28
	subwf 0x13,w
	sleep
	comf 0x5F,w
	data 0x 33
	data 0x 34
	data 0x 4
	subwf 0x13,w
	clrw
	iorwf 0x23,f
	xorwf 0x43,w
	decfsz 0x70,w
	andwf 0x24,f
	rrf 0x37,w
	data 0x 30
	iorwf 0x24,f
	rrf indf,w
	xorwf 0x46,w
	rrf tmr0,w
	data 0x 29
	rrf indf,w
	sleep
	comf 0x49,w
	data 0x 31
	rrf indf,w
	xorwf 0x66,w
	rrf tmr0,w
	data 0x 29
	rrf tmr0,w
	sleep
	comf 0x49,w
	data 0x 33
	subwf 0x11,w
	data 0x 28
	subwf 0x13,w
	sleep
	comf 0x5F,w
	data 0x 33
	data 0x 34
	data 0x 4
	subwf 0x13,w
	clrw
	iorwf 0x23,f
	xorwf 0x43,w
	decfsz 0x11,f
	andwf 0x24,f
	rrf 0x55,w
	data 0x 30
	iorwf 0x24,f
	rrf indf,w
	xorwf 0x46,w
	rrf tmr0,w
	data 0x 29
	rrf indf,w
	sleep
	comf 0x49,w
	data 0x 31
	rrf indf,w
	xorwf 0x66,w
	rrf tmr0,w
	data 0x 29
	rrf indf,w
	sleep
	comf 0x49,w
	data 0x 33
	subwf 0x11,w
	data 0x 28
	subwf 0x13,w
	sleep
	comf 0x5F,w
	data 0x 33
	data 0x 34
	data 0x 4
	subwf 0x13,w
	clrw
	iorwf 0x23,f
	xorwf 0x43,w
	decfsz 0x32,f
	andwf 0x24,f
	rrf 0x73,w
	data 0x 30
	iorwf 0x24,f
	rrf status,w
	sleep
	comf pcl,w
	iorwf 0x23,f
	decfsz 0x5A,f
	rrf fsr,w
	sleep
	comf pcl,w
	sleep
	incf 0x7D,f
	andwf 0x24,f
	rrf pcl,w
	data 0x 30
	rrf porta,w
	iorwf 0x24,f
	sleep
	comf pcl,w
	iorwf 0x23,f
	decfsz 0x5A,f
	rrf portb,w
	sleep
	comf pcl,w
	sleep
	incf 0x7D,f
	andwf 0x24,f
	rrf pcl,w
	data 0x 30
	rrf 0x7,w
	iorwf 0x24,f
	sleep
	comf pcl,w
	iorwf 0x23,f
	decfsz 0x5A,f
	rrf eedata,w
	sleep
	comf pcl,w
	sleep
	incf 0x7D,f
	iorwf 0x23,f
	decfsz 0x73,f
	andwf 0x24,f
	rrf tmr0,w
	data 0x 33
	iorwf 0x24,f
	data 0x 4
	andwf 0x24,f
	subwf 0x13,w
	movwf 0x10
	iorwf 0x23,f
	iorwf 0x24,f
	addwf status,w
	decfsz 0x71,f
	rrf 0x75,w
	data 0x 2C
	rrf 0x30,w
	sleep
	comf 0x12,w
	andwf 0x24,f
	subwf 0x33,f
	iorwf 0x23,f
	iorwf 0x24,f
	addwf 0x43,w
	decfsz 0x5E,f
	sleep
	incf eeadr,w
	iorwf portb,f
	iorwf 0x1A,f
	subwf 0x1A,w
	data 0x 6
	rrf tmr0,w
	sleep
	comf 0x34,w
	sleep
	incf 0xD,f
	sleep
	comf 0x48,w
	sleep
	decfsz 0x7C,f
ORG 0x3DF
	subwf 0x68,f
	decfsz 0x5B,f
	iorwf 0x23,f
	decfsz 0x58,f
	subwf 0x68,f
	decfsz 0x5F,f
	iorwf 0x23,f
	decfsz 0x53,f
	subwf 0x68,f
	decfsz 0x63,f
	iorwf 0x23,f
	decfsz 0x4A,f
	subwf 0x68,f
	decfsz 0x67,f
	iorwf 0x23,f
	decfsz 0x45,f
	subwf 0x68,f
	decfsz 0x6B,f
	iorwf 0x23,f
	decfsz 0x3C,f
	subwf 0x68,f
	decfsz 0x6F,f
	iorwf 0x23,f
	decfsz 0x37,f
	subwf 0x68,f
	decfsz 0x73,f
	iorwf 0x23,f
	decfsz 0x1B,w
	subwf 0x68,f
	decfsz 0x77,f
	iorwf 0x23,f
	incf 0x4F,f
ORG 0xFFF
	incfsz 0x6E,f

Stri0n

S.a  Eğer Arkadaşım Hala Bulamadıysanız Ben Sizin İçin MikroC İle Yapabilirim Ancak Bir Problemimiz Var 12C509A Kompanentim Yok Cevabınızı Bekliyorum