Aus RN-Wissen.de
(→MAX7456) |
|||
Zeile 67: | Zeile 67: | ||
</pre> | </pre> | ||
− | == MAX7456 == | + | == MAX7456 (S/W OSD) == |
− | + | ||
= PIC18(F/LF)xxxx = | = PIC18(F/LF)xxxx = |
Version vom 15. September 2009, 21:53 Uhr
Inhaltsverzeichnis
PIC16(F/LF)XXX
Schieberegister (z.b. CD4094)
; Datenleitungen Schiberegister alles Ausgänge #define CLK PORTB, 0 #define D PORTB, 1 #define STR PORTB, 2 #define T1 PORTB, 6
cd4094_send banksel PORTB bcf STR btfsc cdsend, 0 bsf D btfss cdsend, 0 bcf D bsf CLK bcf CLK btfsc cdsend, 1 bsf D btfss cdsend, 1 bcf D bsf CLK bcf CLK btfsc cdsend, 2 bsf D btfss cdsend, 2 bcf D bsf CLK bcf CLK btfsc cdsend, 3 bsf D btfss cdsend, 3 bcf D bsf CLK bcf CLK btfsc cdsend, 4 bsf D btfss cdsend, 4 bcf D bsf CLK bcf CLK btfsc cdsend, 5 bsf D btfss cdsend, 5 bcf D bsf CLK bcf CLK btfsc cdsend, 6 bsf D btfss cdsend, 6 bcf D bsf CLK bcf CLK btfsc cdsend, 7 bsf D btfss cdsend, 7 bcf D bsf CLK bcf CLK bsf STR return