; Dummy Helm Pin Defines:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Pin Diagram for Dummy Master PIC16F690
;------------------------------------------
; Pin# 	Desig 	Use
;------------------------------------------
;| 1 	Vdd 	+5V
;| 2	OSC1 	ext. XTL resonator 10MHz
;| 3 	OSC2 	ext. XTL resonator 10MHz
;| 4 	RA3 	MSTR CLEAR
;| 5 	RC6 	CraftID_LED_4
;| 6 	RC5 	CraftID_LED_1
;| 7 	RC4 	CraftID_LED_2
;| 8 	RC3 	CraftID_LED_3
;| 9 	RC7
;| 10 	TX 	EUSART transmit output
;| 11 	RB6 
;| 12 	RX 	EUSART receive input
;| 13 	RB4 (SDI)	
;| 14 	RC2 	
;| 15 	RC1 	
;| 16 	RC0	
;| 17 	RA2 	RED_TEAM LED
;| 18 	RA1	BLUE TEAM LED
;| 19 	RA0	Test Pin
;| 20 	Vss 	GND
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;------------------------------------ I/O Pin DEFINES ------------------------------------;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#define	CraftID_LED_4		PORTC,6	; CraftIDs will show in binary, LED1 is LSB
#define	CraftID_LED_4_TRIS	TRISC,6
#define	CraftID_LED_1		PORTC,5	
#define	CraftID_LED_1_TRIS	TRISC,5
#define	CraftID_LED_2		PORTC,4	
#define	CraftID_LED_2_TRIS	TRISC,4
#define	CraftID_LED_3		PORTC,3	
#define	CraftID_LED_3_TRIS	TRISC,3
#define	TEAM_SELECT		PORTC,0	; input from mHelm indicating team affiliation
#define	TEAM_SELECT_TRIS	TRISC,0	
#define	RED_LED		PORTA,2	; powers the RED team LED
#define	RED_LED_TRIS		TRISA,2	
#define	BLUE_LED		PORTA,1	; powers the BLUE team LED
#define	BLUE_LED_TRIS		TRISA,1	
#define	TEST_PIN		PORTA,0	; Pin for test output
#define	TEST_PIN_TRIS		TRISA,0
#define	ANSEL_CONFIG		0x00	; This configures port A to have no analog inputs 0b'0000 0000'
#define	ANSELH_CONFIG		0x00	; This disables the analog channels on 8 and 9 

