| I understand that the key, as described in the book, uses reverse keying and that the "correct" sequence should be to press the paddle to the right for dots and to the left for dashes. I can only apologise for this. I don't use Morse very often but the key that I learnt on was wired as I describe.
The polarity can be changed either in hardware, by reversing the wires to pins 9 and 10 of the PIC, or in software by chaging the first and third lines of the LOOP routine:
LOOP BTFSS PORTB, DASHKEY ;Is Dash Key Pressed
GOTO DOT ;Yes, go to Dot routine
BTFSS PORTB, DOTKEY ;Is Dot Key Pressed
GOTO DASH ;Yes, go to Dash routine
GOTO LOOP
|