Well this rev counter has a adjustment which you can set to meet the resistance in the revcounter.
That is connections,aging electricalparts in the counter and the resistance off the moving parts inside.
I now have a working setuo with my C64 to power the gauge.
First time in basic:
10 poke 56579,1 to initialize the gate I believe.
20 poke 56577,0
30 poke 56577,1
40 a=a+a;?a
50 goto 20
This way I gat maximum off 600 rev/min on the revcounter.
Basic seems to slow...for nice adjustment.
So in assembler?:
c000 lda #$01
c002 sta $dd03
c005 lda#$00
c007 sta $dd01
c00a jsr $c020
c00d lda #$01
c00f sta $dd01
c012 jsr $c020
c015 jmp$c005
c020 ldx #$00
c022 inx
c023 bne $c022
c025 rts
With this I get about 4500 rev/min on my gauge very usable but I need to know the pulses the c64 gives to set the gauge.
So a a=a+1 and a print a in assembler???