I am softwaredeveloper but i didnt found the solution in the source, so decided to use this forum.
I want to use the buzzer (led and sound) and i want to use my 2 aux inputs.
I have the turnigy 9x receiver so i have to use every available pin.
So my big problem is:
Buzzer should be on TX => but TX is always pulled up to 5V, no idea why..
so i swiched with the buzzer to D8 => works very fine

But the bad side effect is, now i am not able to use aux 1

I tried also the override definations
OVERRIDE_BUZZERPIN_PINMODE, but nothing happens on A2.
So my questions is there any hack to use buzzer and this 2 aux?
I looked into the source but i found nothing which worked.
Where can i find which Pin is used and how can i use a different pin for my porposes?
pinMode says what the pin is
But where can i find which pins a grouped into PORTC or PORTB .... ?
Is there anywhere a definition of the PORT"X" - Grouping??
Code: Select all
// #define OVERRIDE_BUZZERPIN_PINMODE pinMode (A1, OUTPUT); // use A2 instead of d8
// #define OVERRIDE_BUZZERPIN_ON PORTC |= (1<<1); //PORTB |= 1;
// #define OVERRIDE_BUZZERPIN_OFF PORTC &= ~(1<<1); //PORTB &= ~1;
i built my nanowii quadrocopter in the last few month.
My setup ist
nanowii
turnigy9x normal tx and rx
baro and magneto sensors
Thanks for your help