; Dummy Craft Pin Defines:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Pin Diagram Craft Dummy PIC16F690 Right Motor Controller
;-------------------------------------------------------
; Pin# 	Desig 	Use
;-------------------------------------------------------
;| 1 	Vdd 	+5V
;| 2 	OSC1 	ext. XTL resonator 10MHz
;| 3 	OSC2 	ext. XTL resonator 10MHz
;| 4	MCLR	Master Clear
;| 5 	RC6	
;| 6 	RC5	PWM Modulated Line (P1A)
;| 7 	RC4 	PWM Direction Bit (P1B)
;| 8 	RC3	Bilge Pump on/off (or timer PWM)
;| 9 	RC7/SDO
;| 10 	TX 	EUSART transmit output (xBee)
;| 11 	RB6 	
;| 12 	RX 	EUSART receive input (xBee)
;| 13 	RB4/SDI
;| 14 	RC2 	
;| 15 	RC1	
;| 16 	RC0	
;| 17 	RA2
;| 18 	RA1	
;| 19 	RA0	Test Pin
;| 20 	Vss 	GND
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;------------------------------------ I/O Pin DEFINES ------------------------------------;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

#define 	BILGE_PUMP		PORTC,6	; Bilge pump on/off
#define 	BILGE_PUMP_TRIS		TRISC,6
#define 	PROP_MODULATION_TRIS	TRISC,5	; Propeller pwm output config
#define 	PROP_DIRECTION_TRIS	TRISC,4	; Propeller pwm output config
#define 	PROP_DIRECTION		PORTC,4	; Prop Direction, low is forward, hi is reverse.
#define	TEST_PIN		PORTA,0	; Pin for test output
#define	TEST_PIN_TRIS		TRISA,0
#define	ANSEL_CONFIG		0x00	; This disables the analog channels 0-7
#define	ANSELH_CONFIG		0x00	; This disables the analog channels on 8 and 9 