HEX6X working OK with PWM?

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
icedfusion
Posts: 12
Joined: Tue Jan 24, 2012 2:18 pm

HEX6X working OK with PWM?

Post by icedfusion »

I currently have a 'MiniWii' FC board (just gyros and Acc).
I have set it up according to the schematics, sheet 3B in the pdf as I don't have a PPM receiver
I have set it up in Hex6x config and have made the following changes to the config.h file:


In the arduino023 (MultiWii_1.9) I enable the following parameters:

Code: Select all

#define HEX6X
#define I2C_SPEED 400000L
#define TRUSTED_ACCZ
#define A0_A1_PIN_HEX
#define ITG3200
#define BMA180


However, I do not have any pitch or yaw - suspicious since they are the inputs to the 'enable A0_A1 pins'

Also looking at the code (output.pde),

Code: Select all

    #if defined(A0_A1_PIN_HEX)
      pinMode(5,INPUT);pinMode(6,INPUT);     // we reactivate the INPUT affectation for these two PINs
      pinMode(A0,OUTPUT);pinMode(A1,OUTPUT);
    #endif


It seems that they are wrong?? As A0 and A1 are inputs for the RX and 5 and 6 are outputs?? I changed them to see what effect it would have - but did not get it working.

Any input greatly appreciated

Cheers

ice.

icedfusion
Posts: 12
Joined: Tue Jan 24, 2012 2:18 pm

Re: HEX6X working OK with PWM?

Post by icedfusion »

I have been told that the A0 and A1 pins are actually outputs and not RX inputs as the diagram would suggest over on the MultiWii thread @ RCG.

Will change the leads around and see where it gets me and report back

Cheers

ice.

realpastaman
Posts: 93
Joined: Thu Jan 12, 2012 1:10 am

Re: HEX6X working OK with PWM?

Post by realpastaman »


icedfusion
Posts: 12
Joined: Tue Jan 24, 2012 2:18 pm

Re: HEX6X working OK with PWM?

Post by icedfusion »

Thanks for that - I did do a search before posting - obviously not using the right wording!

Cheers

ice.

Post Reply