Jeopardy PIC buzzer: Revision history

From PaulJMac
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

8 December 2024

  • curprev 11:0611:06, 8 December 2024Paul talk contribs 1,291 bytes +1,291 Created page with "== Assembly Code == <pre> ; Header --------- list p=16f84a __config h'3ff1' radix hex ; equates -------- portb equ 0x06 ;inputs porta equ 0x05 ;outputs status equ 0x03 ; Program -------- org 0x00 start movlw 0xff tris portb ;port b as inputs movlw 0x00 tris porta ;port a as outputs loop movlw 0xff movwf portb btfsc portb,6 ;probe portb 6 to see if its down goto loop goto poll poll movlw 0x07 movwf porta probe btfss portb,0 ;poll player 1 goto player1 btfs..."