by merchjo » Tue Feb 13, 2007 1:39 am
by merchjo
Tue Feb 13, 2007 1:39 am
OK here goes I setup the Gyro Port 1 - AD 0 - input to gyro - AD 4 output from gyro to MR-C3024 and used the following code:
'Gyro Setup
GYROSET G6A,0,1,1,1,0,0
GYROSET G6D,0,1,1,1,0,0
GYRODIR G6A,1,0,0,1,0,0
GYRODIR G6D,1,0,0,1,0,0
GYROSENSE G6A,0,250,200,250,0,0
GYROSENSE G6D,0,250,200,250,0,0
I set the receiver up as follows:
CH1 to AD(5)
CH2 to AD(2)
CH3 to AD(1)
CH4 to AD(3)
And made the changes in the code as follows:
RC_GET:
DELAY 200
RC0 = RCIN(5) 'RX PORT 1 -- AD PORT 0
RC2 = RCIN(1) 'RX PORT 3 -- AD PORT 1
RC1 = RCIN(2) 'RX PORT 2 -- AD PORT 1
RC3 = RCIN(3) 'RX PORT 4 -- AD PORT 2
OK here goes I setup the Gyro Port 1 - AD 0 - input to gyro - AD 4 output from gyro to MR-C3024 and used the following code:
'Gyro Setup
GYROSET G6A,0,1,1,1,0,0
GYROSET G6D,0,1,1,1,0,0
GYRODIR G6A,1,0,0,1,0,0
GYRODIR G6D,1,0,0,1,0,0
GYROSENSE G6A,0,250,200,250,0,0
GYROSENSE G6D,0,250,200,250,0,0
I set the receiver up as follows:
CH1 to AD(5)
CH2 to AD(2)
CH3 to AD(1)
CH4 to AD(3)
And made the changes in the code as follows:
RC_GET:
DELAY 200
RC0 = RCIN(5) 'RX PORT 1 -- AD PORT 0
RC2 = RCIN(1) 'RX PORT 3 -- AD PORT 1
RC1 = RCIN(2) 'RX PORT 2 -- AD PORT 1
RC3 = RCIN(3) 'RX PORT 4 -- AD PORT 2